Description of problem: internal compiler error (segmentation fault)
Version-Release number of selected component (if applicable):
[thimo@waltari ~]$ g++ --version
g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 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.
[thimo@waltari ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
[thimo@waltari ~]$ uname -a
Linux waltari.cst.de 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 17:57:31 EDT 2006
x86_64 x86_64 x86_64 GNU/Linux
[thimo@waltari ~]$ g++ -c -O2 -fnon-call-exceptions testcase.cc
testcase.cc: In member function `virtual void
testcase.cc:92: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccKa44NX.out file, please attach this to
I've reduced the problem according to
http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction. If one of the options
(-O2 -fnon-call-exceptions) is removed g++ does not fail anymore.
Created attachment 136731 [details]
The reduced testcase
Created attachment 139435 [details]
Patch that fixes the bug
Trivial backport of the patch that fixed the bug upstream.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.