ICE at -O2 when building c++ code from doxygen
Quoted 12 lines
Submitter-Id: net
Originator: Randolph Chung
Organization: Debian
Confidential: no
Synopsis: ICE at -O2 when building c++ code from doxygen
Severity: serious
Priority: medium
Category: optimization
Class: ice-on-legal-code
Release: 3.3 20030309 (Debian prerelease) (Debian testing/unstable)
Environment:
System: Linux gsyprf11.external.hp.com 2.4.20-pa18-UP #1 Sat Jan 4 22:06:52 PST 2003 parisc64 unknown unknown GNU/Linux
Architecture: parisc64
<machine, os, target, libraries (multiple lines)>
host: hppa-unknown-linux-gnu
build: hppa-unknown-linux-gnu
target: hppa-unknown-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-sjlj-exceptions --enable-clocale=gnu --enable-debug --enable-objc-gc hppa-linux
Quoted 1 line
Description:
The attached program was extracted from util.cpp from the doxygen package. It causes an ICE on hppa-linux.
The code compiles correctly with g++-3.2.3
# gcc -O2 -Wall -c bug.cpp bug.cpp: In function `ClassDef* getResolvedClass(Definition*, const char*)': bug.cpp:1913: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Quoted 1 line
How-To-Repeat:
Compile with g++-3.3 -O2 -Wall -c bug.cpp
Quoted 1 line
Fix:
Unknown