public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/23458] New: ICE on m68k (-O3)
@ 2005-08-18 12:32 bas at debian dot org
2005-08-18 12:35 ` [Bug c/23458] " bas at debian dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bas at debian dot org @ 2005-08-18 12:32 UTC (permalink / raw)
To: gcc-bugs
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>.
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/23458] ICE on m68k (-O3)
2005-08-18 12:32 [Bug c/23458] New: ICE on m68k (-O3) bas at debian dot org
@ 2005-08-18 12:35 ` bas at debian dot org
2005-08-18 13:11 ` [Bug middle-end/23458] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bas at debian dot org @ 2005-08-18 12:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bas at debian dot org 2005-08-18 12:33 -------
Created an attachment (id=9531)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9531&action=view)
Test case
compile this with "gcc -O3 -c test.i" to trigger the ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23458
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/23458] ICE on m68k (-O3)
2005-08-18 12:32 [Bug c/23458] New: ICE on m68k (-O3) bas at debian dot org
2005-08-18 12:35 ` [Bug c/23458] " bas at debian dot org
@ 2005-08-18 13:11 ` pinskia at gcc dot gnu dot org
2005-08-19 4:21 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-18 13:11 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23458
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/23458] ICE on m68k (-O3)
2005-08-18 12:32 [Bug c/23458] New: ICE on m68k (-O3) bas at debian dot org
2005-08-18 12:35 ` [Bug c/23458] " bas at debian dot org
2005-08-18 13:11 ` [Bug middle-end/23458] " pinskia at gcc dot gnu dot org
@ 2005-08-19 4:21 ` pinskia at gcc dot gnu dot org
2005-08-29 11:21 ` debian-gcc at lists dot debian dot org
2005-08-31 15:57 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-19 4:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23458
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/23458] ICE on m68k (-O3)
2005-08-18 12:32 [Bug c/23458] New: ICE on m68k (-O3) bas at debian dot org
` (2 preceding siblings ...)
2005-08-19 4:21 ` pinskia at gcc dot gnu dot org
@ 2005-08-29 11:21 ` debian-gcc at lists dot debian dot org
2005-08-31 15:57 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-08-29 11:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |debian-gcc at lists dot
| |debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23458
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/23458] ICE on m68k (-O3)
2005-08-18 12:32 [Bug c/23458] New: ICE on m68k (-O3) bas at debian dot org
` (3 preceding siblings ...)
2005-08-29 11:21 ` debian-gcc at lists dot debian dot org
@ 2005-08-31 15:57 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 15:56 -------
The works with a cross compiler:
GNU C version 4.0.2 20050826 (prerelease) (m68k-linux-gnu)
compiled by GNU C version 3.3 20030304 (Apple Computer, Inc. build 1495).
I compiled cc1 at -O0.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|4.1.0 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23458
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-31 15:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-18 12:32 [Bug c/23458] New: ICE on m68k (-O3) bas at debian dot org
2005-08-18 12:35 ` [Bug c/23458] " bas at debian dot org
2005-08-18 13:11 ` [Bug middle-end/23458] " pinskia at gcc dot gnu dot org
2005-08-19 4:21 ` pinskia at gcc dot gnu dot org
2005-08-29 11:21 ` debian-gcc at lists dot debian dot org
2005-08-31 15:57 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).