Bug 1063110 - Internal compiler error from static constexpr referring to member in the same class
Summary: Internal compiler error from static constexpr referring to member in the same...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 20
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: 2014-02-10 03:19 UTC by Kyle Stemen
Modified: 2014-02-10 14:51 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-10 14:51:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed source code (437 bytes, text/x-csrc)
2014-02-10 03:19 UTC, Kyle Stemen
no flags Details

Description Kyle Stemen 2014-02-10 03:19:29 UTC
Created attachment 861224 [details]
preprocessed source code

[kyle@kyle-dev ~]$ g++ -std=c++11 test.cpp -Wall && ./a.out 
test.cpp:7:43: internal compiler error: Segmentation fault
     static constexpr B A::* b_alias = &A::b;
                                           ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cclJ0hOI.out file, please attach this to your bugreport.

Comment 1 Jakub Jelinek 2014-02-10 14:51:17 UTC
This is http://gcc.gnu.org/PR54532 , fixed for GCC 4.9.


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