------- Comment #8 from danglin at gcc dot gnu dot org 2008-11-08 21:40 ------- > It seems the insn to initialize reg:DI 69 is being emitted, but it appears > that it is done too early and gets lost.
No, it's not lost. Insn 27 has been inserted before insn 2: [...] (insn 27 26 28 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c:20 (set (reg/f:DI 72) (reg/f:DI 69)) -1 (nil)) (insn 28 27 29 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c:20 (set (mem/c:DI (plus:DI (reg/f:DI 62 virtual-stack-vars) (const_int 8 [0x8])) [0 S8 A128]) (reg/f:DI 72)) -1 (nil)) (insn 29 28 30 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c:20 (set (reg:DI 73) (reg:DI 28 %r28)) -1 (nil)) (insn 30 29 31 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c:20 (set (mem/c:DI (plus:DI (reg/f:DI 62 virtual-stack-vars) (const_int 16 [0x10])) [0 S8 A64]) (reg:DI 73)) -1 (nil)) (insn 31 30 2 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c:20 (set (reg/f:DI 74) (plus:DI (reg/f:DI 62 virtual-stack-vars) (const_int 8 [0x8]))) -1 (nil)) (insn 2 31 3 2 /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-apply4.c:18 (set (reg/f:DI 69) (reg/f:DI 61 virtual-incoming-args)) -1 (nil)) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37323