This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [rfc] mainline slush
> The new implementation of instantiate_virtual_regs requires that the
> insn be valid *before* instantiation.
I see. I didn't find it written anywhere so I thought I should ask.
> The bug is in sparc_emit_float_lib_cmp,
>
> 5807 slot0 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode),
> 0); 5808 emit_insn (gen_rtx_SET (VOIDmode, slot0, x));
>
> You have to call validize_mem there.
emit_move_insn should work fine too. Thanks for the tip.
Btw, is it me or the individual RTL dump options are broken?
eric@linux:~/build/gcc/sparc64-sun-solaris2.9> gcc/xgcc -Bgcc -S t007_y.c -dr
cc1: warning: unrecognized gcc debugging option: r
eric@linux:~/build/gcc/sparc64-sun-solaris2.9> gcc/xgcc -Bgcc -S t007_y.c
-fdump-rtl-expand
cc1: error: unrecognized command line option "-fdump-rtl-expand"
--
Eric Botcazou