From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14927 invoked by alias); 18 Aug 2005 12:32:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14866 invoked by uid 48); 18 Aug 2005 12:31:49 -0000 Date: Thu, 18 Aug 2005 12:32:00 -0000 From: "bas at debian dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050818123140.23458.bas@debian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/23458] New: ICE on m68k (-O3) X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg02105.txt.bz2 List-Id: 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 for instructions. For Debian GNU/Linux specific bug reporting instructions, see . 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 for instructions. For Debian GNU/Linux specific bug reporting instructions, see . 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 for instructions. For Debian GNU/Linux specific bug reporting instructions, see . -- Summary: ICE on m68k (-O3) Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bas at debian dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: m68k-linux-gnu GCC host triplet: m68k-linux-gnu GCC target triplet: m68k-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23458