This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12898] [3.4 Regression] Tru64 UNIX bootstrap failure: ICE in gen_reg_rtx, at emit-rtl.c:819
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2003 10:40:35 -0000
- Subject: [Bug target/12898] [3.4 Regression] Tru64 UNIX bootstrap failure: ICE in gen_reg_rtx, at emit-rtl.c:819
- References: <20031104192020.12898.ro@techfak.uni-bielefeld.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2003-11-18 10:40 -------
Ah, this explains why so few people are seeing it: this test case fails only
with -mcpu=ev6 (which is weird, because -mcpu=ev67 should not change anything
except activate a few builtins).
I've extracted a test case which will also ICE with other -mcpu's. Backtrace:
#0 fancy_abort (file=0x120684753 "../../gcc/emit-rtl.c", line=819,
function=0x120684898 "gen_reg_rtx") at ../../gcc/diagnostic.c:584
#1 0x00000001201ddb8c in gen_reg_rtx (mode=DImode) at ../../gcc/emit-rtl.c:819
#2 0x00000001201fe60c in copy_to_suggested_reg (x=0x20000378b00,
target=0x200004ad680, mode=DImode) at ../../gcc/explow.c:755
#3 0x0000000120555558 in alpha_emit_set_const_1 (target=0x200004ad680,
mode=DImode, c=32768, n=2) at ../../gcc/config/alpha/alpha.c:2504
#4 0x0000000120555fcc in alpha_emit_set_const (target=0x200004ad680,
mode=DImode, c=32768, n=3) at ../../gcc/config/alpha/alpha.c:2667
#5 0x0000000120556b5c in alpha_expand_mov (mode=SImode, operands=0x11fffdef8)
at ../../gcc/config/alpha/alpha.c:2815
#6 0x0000000120346fe0 in gen_movsi (operand0=0x2000045fa40,
operand1=0x20000378af0) at insn-emit.c:6470
#7 0x000000012021ce6c in emit_move_insn_1 (x=0x2000045fa40, y=0x20000378af0)
at ../../gcc/expr.c:2870
#8 0x00000001203d0254 in gen_move_insn (x=0x2000045fa40, y=0x20000378af0)
at ../../gcc/optabs.c:4378
#9 0x000000012047e500 in gen_reload (out=0x2000045fa40, in=0x20000378af0,
opnum=1, type=RELOAD_FOR_INPUT) at ../../gcc/reload1.c:7454
#10 0x00000001204798a0 in emit_input_reload_insns (chain=0x12078ced8,
rl=0x120744630, old=0x20000378af0, j=0) at ../../gcc/reload1.c:6535
#11 0x000000012047a9e0 in do_input_reload (chain=0x12078ced8, rl=0x120744630,
j=0) at ../../gcc/reload1.c:6779
#12 0x000000012047b498 in emit_reload_insns (chain=0x12078ced8)
at ../../gcc/reload1.c:6928
#13 0x000000012046c3b8 in reload_as_needed (live_known=1)
at ../../gcc/reload1.c:3846
#14 0x000000012045fcf0 in reload (first=0x200004740c0, global=1)
at ../../gcc/reload1.c:1063
#15 0x00000001205e3d60 in global_alloc (file=0x0) at ../../gcc/global.c:582
#16 0x00000001204dddc8 in rest_of_handle_old_regalloc (decl=0x200004729c0,
insns=0x200004740c0, rebuild_notes=0x11ffff340) at ../../gcc/toplev.c:2275
#17 0x00000001204e1d54 in rest_of_compilation (decl=0x200004729c0)
at ../../gcc/toplev.c:3462
#18 0x0000000120577074 in tree_rest_of_compilation (fndecl=0x200004729c0,
nested_p=false) at ../../gcc/tree-optimize.c:168
#19 0x000000012004e728 in c_expand_body_1 (fndecl=0x200004729c0, nested_p=0)
at ../../gcc/c-decl.c:6160
#20 0x000000012004ea84 in c_expand_body (fndecl=0x200004729c0)
at ../../gcc/c-decl.c:6190
#21 0x000000012057b780 in cgraph_expand_function (node=0x2000001ac00)
at ../../gcc/cgraphunit.c:497
#22 0x000000012057f2b0 in cgraph_expand_all_functions ()
at ../../gcc/cgraphunit.c:1317
#23 0x000000012057f690 in cgraph_optimize () at ../../gcc/cgraphunit.c:1381
#24 0x00000001200d6528 in c_objc_common_finish_file ()
at ../../gcc/c-objc-common.c:244
#25 0x0000000120014ad8 in finish_file () at ../../gcc/c-lang.c:185
#26 0x00000001200bc748 in c_common_parse_file (set_yydebug=0)
at ../../gcc/c-opts.c:1233
#27 0x00000001204dc920 in compile_file () at ../../gcc/toplev.c:1840
#28 0x00000001204e56a8 in do_compile () at ../../gcc/toplev.c:4695
#29 0x00000001204e57a8 in toplev_main (argc=3, argv=0x11ffff7c8)
at ../../gcc/toplev.c:4735
#30 0x0000000120103754 in main (argc=3, argv=0x11ffff7c8)
at ../../gcc/main.c:35
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12898