Bug 565466 - g++ 4.4.3 crash
Summary: g++ 4.4.3 crash
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 565925 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-15 12:03 UTC by Joel Rosdahl
Modified: 2010-02-17 12:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-15 12:48:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Preprocessed crash.cpp (263.31 KB, application/octet-stream)
2010-02-15 12:03 UTC, Joel Rosdahl
no flags Details
crash.cpp (559 bytes, text/x-c++src)
2010-02-15 12:03 UTC, Joel Rosdahl
no flags Details


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

Description Joel Rosdahl 2010-02-15 12:03:12 UTC
Created attachment 394298 [details]
Preprocessed crash.cpp

Description of problem:

g++ 4.4.3 crashes with a segmentation fault when compiling the attached "crash.cpp" file with -O2 or -Os. This is a regression from g++ 4.4.2, which doesn't crash.

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

gcc-c++-4.4.3-4.fc12.i686

How reproducible:

100%

Steps to Reproduce:

g++ -c -O2 crash.cpp

Actual results:

crash.cpp: In constructor ‘E::E()’:
crash.cpp:56: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc7kY8V1.out file, please attach this to your bugreport.

Expected results:

No crash.

Additional info:

g++ (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Comment 1 Joel Rosdahl 2010-02-15 12:03:39 UTC
Created attachment 394299 [details]
crash.cpp

Comment 2 Jakub Jelinek 2010-02-15 12:48:49 UTC
This is upstream PR42890 that is already fixed in gcc-4.4.3-5.fc1{2,3} and later.

Comment 3 Jakub Jelinek 2010-02-17 12:38:11 UTC
*** Bug 565925 has been marked as a duplicate of this bug. ***


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