------- Comment #9 from hp at gcc dot gnu dot org 2009-04-28 01:59 ------- GDB backtrace for comment #8, after rm *.o; make all-gcc CFLAGS=-g:
#0 fancy_abort (file=0xd77ded "/tmp/buildice5/gcc/gcc/expr.c", line=3387, function=0xd78201 "emit_move_insn") at /tmp/buildice5/gcc/gcc/diagnostic.c:724 #1 0x00000000006721d6 in emit_move_insn (x=0x2aaaaabbfb00, y=0x2aaaaabbfc40) at /tmp/buildice5/gcc/gcc/expr.c:3386 #2 0x0000000000c9f5ac in insert_partition_copy_on_edge (e=0x2aaaaaaada00, dest=0, src=1) at /tmp/buildice5/gcc/gcc/tree-outof-ssa.c:155 #3 0x0000000000ca0d8d in elim_create (g=0x11a3590, T=0) at /tmp/buildice5/gcc/gcc/tree-outof-ssa.c:542 #4 0x0000000000ca126f in eliminate_phi (e=0x2aaaaaaada00, g=0x11a3590) at /tmp/buildice5/gcc/gcc/tree-outof-ssa.c:583 #5 0x0000000000ca1f51 in expand_phi_nodes (sa=0x115b520) at /tmp/buildice5/gcc/gcc/tree-outof-ssa.c:756 #6 0x0000000000c125c2 in gimple_expand_cfg () at /tmp/buildice5/gcc/gcc/cfgexpand.c:2507 #7 0x000000000085f950 in execute_one_pass (pass=0x111baa0) at /tmp/buildice5/gcc/gcc/passes.c:1286 #8 0x000000000085fb99 in execute_pass_list (pass=0x111baa0) at /tmp/buildice5/gcc/gcc/passes.c:1335 #9 0x00000000009a1eb7 in tree_rest_of_compilation (fndecl=0x2aaaaabbd100) at /tmp/buildice5/gcc/gcc/tree-optimize.c:394 #10 0x0000000000b81c72 in cgraph_expand_function (node=0x2aaaaabbd600) at /tmp/buildice5/gcc/gcc/cgraphunit.c:1051 #11 0x0000000000b81e25 in cgraph_expand_all_functions () at /tmp/buildice5/gcc/gcc/cgraphunit.c:1110 #12 0x0000000000b823ee in cgraph_optimize () at /tmp/buildice5/gcc/gcc/cgraphunit.c:1324 #13 0x00000000004873be in c_write_global_declarations () at /tmp/buildice5/gcc/gcc/c-decl.c:8306 #14 0x0000000000927838 in compile_file () at /tmp/buildice5/gcc/gcc/toplev.c:988 #15 0x0000000000929709 in do_compile () at /tmp/buildice5/gcc/gcc/toplev.c:2248 #16 0x00000000009297c9 in toplev_main (argc=14, argv=0x7fffaaa06e58) at /tmp/buildice5/gcc/gcc/toplev.c:2293 #17 0x0000000000538b3f in main (argc=14, argv=0x7fffaaa06e58) at /tmp/buildice5/gcc/gcc/main.c:35 (gdb) up #1 0x00000000006721d6 in emit_move_insn (x=0x2aaaaabbfb00, y=0x2aaaaabbfc40) at /tmp/buildice5/gcc/gcc/expr.c:3386 3386 gcc_assert (mode != BLKmode (gdb) p x $1 = (rtx) 0x2aaaaabbfb00 (gdb) pr (reg/v:QI 25 [ a ]) (gdb) p y $2 = (rtx) 0x2aaaaabbfc40 (gdb) pr (reg/v:SI 31 [ b ]) (the test-case is already as reduced as they get) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39927