This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/13821] New: IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2004 22:28:19 -0000
- Subject: [Bug bootstrap/13821] New: IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrapping current mainline on mips-sgi-irix6.5 fails:
$ ./xgcc -B./ -B/.vol/gcc/share/mips-sgi-irix6.5/bin/ -isystem /.vol/gcc/share/mips-sgi-irix6.5/include -isystem /.vol/gcc/share/mips-sgi-irix6.5/sys-include -L/.vol/gcc/obj/gcc-3.5.0-20040122/6.5-gcc-java/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/.vol/gcc/src/gcc-dist/gcc -I/.vol/gcc/src/gcc-dist/gcc/. -I/.vol/gcc/src/gcc-dist/gcc/../include -mabi=64 -fexceptions -c /.vol/gcc/src/gcc-dist/gcc/unwind-dw2-fde.c -o libgcc/mabi=64/unwind-dw2-fde.o -v -save-temps
Reading specs from ./specs
Configured with: /.vol/gcc/src/gcc-dist/configure --prefix=/.vol/gcc --with-local-prefix=/.vol/gcc --disable-nls --enable-libgcj
Thread model: single
gcc version 3.5.0 20040122 (experimental)
./cc1 -E -quiet -v -I. -I. -I/.vol/gcc/src/gcc-dist/gcc -I/.vol/gcc/src/gcc-dist/gcc/. -I/.vol/gcc/src/gcc-dist/gcc/../include -iprefix /.vol/gcc/obj/gcc-3.5.0-20040122/6.5-gcc-java/gcc/../lib/gcc/mips-sgi-irix6.5/3.5.0/ -isystem ./include -isystem /.vol/gcc/share/mips-sgi-irix6.5/bin/include -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -isystem /.vol/gcc/share/mips-sgi-irix6.5/include -isystem /.vol/gcc/share/mips-sgi-irix6.5/sys-include -isystem ./include /.vol/gcc/src/gcc-dist/gcc/unwind-dw2-fde.c -mabi=64 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fexceptions -fworking-directory -O2 -o unwind-dw2-fde.i
ignoring nonexistent directory "/.vol/gcc/share/mips-sgi-irix6.5/bin/include"
ignoring nonexistent directory "/.vol/gcc/share/mips-sgi-irix6.5/include"
ignoring nonexistent directory "/.vol/gcc/share/mips-sgi-irix6.5/sys-include"
ignoring duplicate directory "./include"
ignoring nonexistent directory "/.vol/gcc/obj/gcc-3.5.0-20040122/6.5-gcc-java/gcc/../lib/gcc/mips-sgi-irix6.5/3.5.0/include"
ignoring nonexistent directory "/.vol/gcc/include"
ignoring nonexistent directory "/.vol/gcc/lib/gcc/mips-sgi-irix6.5/3.5.0/include"
ignoring nonexistent directory "/.vol/gcc/share/mips-sgi-irix6.5/include"
ignoring duplicate directory "."
ignoring duplicate directory "/.vol/gcc/src/gcc-dist/gcc/."
#include "..." search starts here:
#include <...> search starts here:
.
/.vol/gcc/src/gcc-dist/gcc
/.vol/gcc/src/gcc-dist/gcc/../include
./include
/usr/include
End of search list.
./cc1 -fpreprocessed unwind-dw2-fde.i -quiet -dumpbase unwind-dw2-fde.c -mabi=64 -auxbase-strip libgcc/mabi=64/unwind-dw2-fde.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fexceptions -o unwind-dw2-fde.s
GNU C version 3.5.0 20040122 (experimental) (mips-sgi-irix6.5)
compiled by GNU C version 3.4 20031030 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/.vol/gcc/src/gcc-dist/gcc/unwind-dw2-fde.c: In function `search_object':
/.vol/gcc/src/gcc-dist/gcc/unwind-dw2-fde.c:968: internal compiler error: in simplify_gen_subreg, at simplify-rtx.c:3442
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The ICE vanishes at -O1.
Here's the stack trace:
Breakpoint 1, fancy_abort (
file=0x10667468 "/.vol/gcc/src/gcc-dist/gcc/simplify-rtx.c", line=3442,
function=0x10667da0 "simplify_gen_subreg")
at /.vol/gcc/src/gcc-dist/gcc/diagnostic.c:584
(gdb) where
#0 fancy_abort (file=0x10667468 "/.vol/gcc/src/gcc-dist/gcc/simplify-rtx.c",
line=3442, function=0x10667da0 "simplify_gen_subreg")
at /.vol/gcc/src/gcc-dist/gcc/diagnostic.c:584
#1 0x103df8b4 in simplify_gen_subreg (outermode=QImode, op=0x43ba040,
innermode=SImode, byte=7) at /.vol/gcc/src/gcc-dist/gcc/simplify-rtx.c:3442
#2 0x103df640 in simplify_subreg (outermode=QImode, op=0x43b6ad0,
innermode=DImode, byte=7) at /.vol/gcc/src/gcc-dist/gcc/simplify-rtx.c:3407
#3 0x1043e530 in combine_simplify_rtx (x=0x43b6c90, op0_mode=DImode, last=0,
in_dest=0) at /.vol/gcc/src/gcc-dist/gcc/combine.c:3827
#4 0x1043d2f8 in subst (x=0x43b6c90, from=0x43ba940, to=0x43b6ad0, in_dest=0,
unique_copy=0) at /.vol/gcc/src/gcc-dist/gcc/combine.c:3513
#5 0x1043d08c in subst (x=0x43b6ca0, from=0x43ba940, to=0x43b6ad0, in_dest=0,
unique_copy=0) at /.vol/gcc/src/gcc-dist/gcc/combine.c:3462
#6 0x1043d08c in subst (x=0x43b6cb0, from=0x43ba940, to=0x43b6ad0, in_dest=0,
unique_copy=0) at /.vol/gcc/src/gcc-dist/gcc/combine.c:3462
#7 0x104372dc in try_combine (i3=0x43c0090, i2=0x43bfde0, i1=0x0,
new_direct_jump_p=0x7ffb7bbc) at /.vol/gcc/src/gcc-dist/gcc/combine.c:1909
#8 0x10433798 in combine_instructions (f=0x437ba80, nregs=705)
at /.vol/gcc/src/gcc-dist/gcc/combine.c:629
#9 0x10145a00 in rest_of_handle_combine (decl=0x41fc400, insns=0x437ba80)
at /.vol/gcc/src/gcc-dist/gcc/toplev.c:2781
#10 0x1014741c in rest_of_compilation (decl=0x41fc400)
at /.vol/gcc/src/gcc-dist/gcc/toplev.c:3354
#11 0x1050f1a8 in tree_rest_of_compilation (fndecl=0x41fc400, nested_p=false)
at /.vol/gcc/src/gcc-dist/gcc/tree-optimize.c:168
#12 0x1007ca54 in c_expand_body_1 (fndecl=0x41fc400, nested_p=0)
at /.vol/gcc/src/gcc-dist/gcc/c-decl.c:6124
#13 0x1007ce4c in c_expand_body (fndecl=0x41fc400)
at /.vol/gcc/src/gcc-dist/gcc/c-decl.c:6156
#14 0x105a88ec in cgraph_expand_function (node=0x41fc880)
at /.vol/gcc/src/gcc-dist/gcc/cgraphunit.c:527
#15 0x105ac25c in cgraph_expand_all_functions ()
at /.vol/gcc/src/gcc-dist/gcc/cgraphunit.c:1531
#16 0x105ac5c4 in cgraph_optimize ()
at /.vol/gcc/src/gcc-dist/gcc/cgraphunit.c:1596
#17 0x100f67c0 in c_objc_common_finish_file ()
at /.vol/gcc/src/gcc-dist/gcc/c-objc-common.c:245
#18 0x10048978 in finish_file () at /.vol/gcc/src/gcc-dist/gcc/c-lang.c:185
#19 0x100df338 in c_common_parse_file (set_yydebug=0)
at /.vol/gcc/src/gcc-dist/gcc/c-opts.c:1222
#20 0x10142af4 in compile_file () at /.vol/gcc/src/gcc-dist/gcc/toplev.c:1806
#21 0x1014a860 in do_compile () at /.vol/gcc/src/gcc-dist/gcc/toplev.c:4628
#22 0x1014a984 in toplev_main (argc=21, argv=0x7ffb7f04)
at /.vol/gcc/src/gcc-dist/gcc/toplev.c:4668
#23 0x100fb190 in main (argc=21, argv=0x7ffb7f04)
at /.vol/gcc/src/gcc-dist/gcc/main.c:35
This looks similar to a Solaris 8/SPARC bootstrap failure (which hasn't yet
made it into bugzilla).
Environment:
System: IRIX64 columba 6.5 10120104 IP27
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /.vol/gcc/src/gcc-dist/configure --prefix=/.vol/gcc --with-local-prefix=/.vol/gcc --disable-nls --enable-libgcj
How-To-Repeat:
Bootstrap mainline as above.
--
Summary: IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13821