Hide Forgot
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.
Created attachment 394299 [details] crash.cpp
This is upstream PR42890 that is already fixed in gcc-4.4.3-5.fc1{2,3} and later.
*** Bug 565925 has been marked as a duplicate of this bug. ***