Bug#178965: g++-3.2: sparc regression, ICE when optimizing (gen_reg_rtx, at emit-rtl.c:662)
Package: g++-3.2
Version: 3.2.2-0pre6
Severity: important
This is a regression from gcc-2.95 and isn't fixed by gcc-snapshot
(20030118-1). Compiling without optimization (-O0) makes the ICE go
away. I've made the -save-temps output available here:
http://people.debian.org/~troup/fpu_ieee.ii.gz
(It's 280k uncompressed, so I haven't included in the report, sorry)
| Automatic build of aranym_0.7.0-1 on vore by sbuild/sparc 1.170
| Build started at 20030129-1353
| ******************************************************************************
[...]
| ** Using build dependencies supplied by package:
| Build-Depends: debhelper, bzip2, libsdl1.2-dev
[...]
| g++ -I../include -I. -I../natfeat -I../uae_cpu -DHAVE_CONFIG_H -DOS_linux -DCPU_sparc -D_GNU_SOURCE -DDIRECT_ADDRESSING -DFPU_IEEE -DDATADIR=\"/usr/share/aranym\" -g -Wall -Wtraditional -Winline -O3 -I/usr/include/SDL -D_REENTRANT -c ../uae_cpu/fpu/fpu_ieee.cpp -o obj/fpu_ieee.o
| ../uae_cpu/fpu/fpu_ieee.cpp: In function `int get_fp_value(unsigned int, short
| unsigned int, fpu_register&)':
| ../uae_cpu/fpu/fpu_ieee.cpp:710: Internal compiler error in gen_reg_rtx, at
| emit-rtl.c:662
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
A complete build log can be found at
http://buildd.debian.org/build.php?arch=sparc&pkg=aranym&ver=0.7.0-1
--
James
Reply to: