[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#323426: [m68k] ICE: gcc-4.0 segfaults with -O2 dealing with long doubles



Package: gcc-4.0
Version: 4.0.1-4
Severity: important

hi,

i have been trying to compile fftw3 on crest. i had first to remove the
-fomit-frame-pointer flag, which fails with -g (this behavior is documented in
the gcc manual).

now fftw3 compiles fine in float and double modes, but fails in long double
mode with the attached error. generic.c passes using -O1 (or commenting out
lines 109, 110, 211 and 212, but i could not derive a small testcase).

the long double version build is attempted wherever sizeof(long)!=sizeof(long
double). it was not compiled before on m68k, so i will probably just drop it.

i left the build tree on crest in case that's useful.

cheers, piem

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../kernel -I../dft -g -O2 -Wall -fno-schedule-insns -fstrict-aliasing -pthread -MT generic.lo -MD -MP -MF .deps/generic.Tpo -c generic.c  -fPIC -DPIC -o .libs/generic.o
generic.c: In function 'apply_dit':
generic.c:133: internal compiler error: in reload, at reload1.c:1073
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[4]: *** [generic.lo] Error 1
make[4]: Leaving directory `/home/piem/fftw3-3.0.1/rdft'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/piem/fftw3-3.0.1/rdft'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/piem/fftw3-3.0.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/piem/fftw3-3.0.1'
make: *** [build] Error 2



Reply to: