Bug 824260 - a bug when compling cpp file
Summary: a bug when compling cpp file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 16
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: 2012-05-23 05:43 UTC by 范利鑫
Modified: 2012-05-23 12:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-23 12:49:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed source (1.31 MB, application/octet-stream)
2012-05-23 05:43 UTC, 范利鑫
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 51619 0 None None None Never

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.


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