Bug 1063110

Summary: Internal compiler error from static constexpr referring to member in the same class
Product: [Fedora] Fedora Reporter: Kyle Stemen <vu9rw54epy>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-10 14:51:17 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:
Attachments:
Description Flags
preprocessed source code none

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.