Bug 824260

Summary: a bug when compling cpp file
Product: [Fedora] Fedora Reporter: 范利鑫 <900831flx>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: 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: 2012-05-23 12:49:09 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 none

Description 范利鑫 2012-05-23 05:43:12 UTC
Created attachment 586250 [details]
preprocessed source

Description of problem:
while compiling a simple code using -std=c++0x, I find a bug .

Version-Release number of selected component (if applicable):


4.6.3
How reproducible:
/home/ronaflx/src
use command g++ -oHeavyBooks HeavyBook.cpp -std=c++0x


Actual results:
HeavyBooks.cpp: In function ‘int main()’:
HeavyBooks.cpp:73:13:   in constexpr expansion of ‘___test.HeavyBooks::HeavyBooks()’
HeavyBooks.cpp:73:13: internal compiler error: in build_special_member_call, at cp/call.c:6616
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccFtq8oN.out file, please attach this to your bugreport.

Expected results:
compile successfully

Additional info:

Comment 1 Jakub Jelinek 2012-05-23 12:49:09 UTC
Fixed in gcc 4.7, not trivially backportable.