Bug 824260 - a bug when compling cpp file
a bug when compling cpp file
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-05-23 01:43 EDT by 范利鑫
Modified: 2012-05-23 08:49 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-23 08:49:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 51619 None None None Never

  None (edit)
Description 范利鑫 2012-05-23 01:43:12 EDT
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):

How reproducible:
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 08:49:09 EDT
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.