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

Bug#323792: ICE when compiling freesci on m68k



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

gcc 4.0.1-4 ICE's when compiling freesci on m68k:

m68k-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -Wall -g -O3 -c script.c
../../src/include/gfx_system.h:241: warning: 'gfx_rect_fullscreen' defined but not used
../../src/include/gfx_widgets.h:73: warning: 'gfxw_point_zero' defined but not used
script.c: In function 'script_dissect':
script.c:440: internal compiler error: Segmentation fault
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>.

See http://buildd.debian.org/fetch.php?&pkg=freesci&ver=0.3.4c-3&arch=m68k&stamp=1121689384&file=log&as=raw

This occurs only when compiling with -O3.

I'm attaching a preprocessed, cleaned-up c snippet (~100 lines) that
triggers the bug:

crest% gcc -O3 -c test.i
test.i: In function 'script_dissect':
test.i:90: internal compiler error: Segmentation fault
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>.
crest% gcc -v -save-temps -O3 -c test.i
Using built-in specs.
Target: m68k-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,objc,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --disable-werror --enable-checking=release m68k-linux-gnu
Thread model: posix
gcc version 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)
 /usr/lib/gcc/m68k-linux-gnu/4.0.2/cc1 -fpreprocessed test.i -quiet -dumpbase test.i -auxbase test -O3 -version -o test.s
GNU C version 4.0.2 20050806 (prerelease) (Debian 4.0.1-4) (m68k-linux-gnu)
        compiled by GNU C version 4.0.2 20050806 (prerelease) (Debian 4.0.1-4).
GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15939
test.i: In function 'script_dissect':
test.i:90: internal compiler error: Segmentation fault
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>.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc6
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gcc-4.0 depends on:
ii  binutils                      2.16.1-2   The GNU assembler, linker and bina
ii  cpp-4.0                       4.0.1-4    The GNU C preprocessor
ii  gcc-4.0-base                  4.0.1-4    The GNU Compiler Collection (base 
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-4  GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                     2.3.5-3    GNU C Library: Development Librari
ii  libmudflap0-dev               4.0.1-4    GCC mudflap support libraries (dev

-- no debconf information



Reply to: