Red Hat Bugzilla – Bug 146385
internal compiler error: in fold_convert, at fold-const.c:1917
Last modified: 2007-11-30 17:10:59 EST
Description of problem:
In file included from foo.cpp:1:
foo.hpp: In static member function `static foo*
foo.hpp:33: internal compiler error: in fold_convert, at
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/cc2QCuvl.out file, please
attach this to your bugreport.
[mmarciniszyn@brady testit]$ cp /tmp/cc2QCuvl.out bug.cpp
Version-Release number of selected component (if applicable):
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Steps to Reproduce:
Compile the attached program
Created attachment 110315 [details]
Source that shows the problem
Save the file as bug.cpp and type g++ bug.cpp
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.