Bug 1678613

Summary: Regression when deriving from std::allocator
Product: [Fedora] Fedora Reporter: serge_sans_paille <sguelton>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, davejohansen, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-06 13:01:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description serge_sans_paille 2019-02-19 08:31:16 UTC
Following test case compiles fine with gcc-8.2 but fails to build with gcc-9

    https://godbolt.org/z/c3iMsT

One now needs to manually forward the construct method, and I'm unsure why this is needed.

The problem arises with gcc-9.0.1 used to recompile fedora-30

Comment 1 serge_sans_paille 2019-03-06 13:01:51 UTC
Problem fixed in trunk version (see godblot) and in g++ (GCC) 9.0.1 20190227 (Red Hat 9.0.1-0.8), closing the issue.