Internal compiler error in reachable_next_level, at except.c:2723
>Submitter-Id: net
>Originator: dLux
>Organization: -
>Confidential: no
>Synopsis: Internal compiler error with -O2 in except.c:2723
>Severity: serious
>Priority: low
>Category: optimization
>Class: ice-on-legal-code
>Release: 3.0.2 (Debian) (Debian testing/unstable)
>Environment:
System: Linux dl 2.4.12-ac3 #1 H OKT 22 23:07:03 CEST 2001 i686 unknown
Architecture: i686
Debian sid gcc 3.0.2 distribution
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
I got the following error message when I compile my source with the following
options:
g++-3.0 -DPACKAGE=\"libasq\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -I. -I. -g -O2
-Wp,-MD,.deps/store.pp -c store.cc -fPIC -DPIC
store.cc: In constructor `ASQ::Store::Store(const std::string&)':
store.cc:32: Internal compiler error in reachable_next_level, at except.c:2723
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
It works if I don't use optimalization. (without -O2)
>How-To-Repeat:
I have made a precompiler output with the following options:
g++-3.0 -E -DPACKAGE=\"libasq\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -I. -I. -g
-O2 -Wp,-MD,.deps/store.pp -c store.cc -fPIC -DPIC >ice.txt
The gzipped ice.txt is put into http://hacks.dlux.hu/gcc-bug/ice.txt.gz
Happy hunting, guys! :-)
>Fix:
Reply to: