Bug 1678613 - Regression when deriving from std::allocator
Summary: Regression when deriving from std::allocator
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-19 08:31 UTC by serge_sans_paille
Modified: 2019-03-06 16:34 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-03-06 13:01:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 89416 0 None None None 2019-03-06 16:34:23 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.