Etienne Lorrain <[EMAIL PROTECTED]> writes:

> powerpc-eabi-gcc -Wall -W -O2 -g -fno-strict-aliasing -ffunction-sections 
> -fdata-sections -fno-schedule-insns -std=gnu99 -fcall-used-cr2 
> -fcall-used-cr3 -fcall-used-cr4 -Xassembler -mregnames ... *.c
> 
> ../net/src/net_dbg.c:668: error: Attempt to delete prologue/epilogue insn:
> (insn 238 237 239 22 ../net/src/net_dbg.c:668 (set (reg:SI 12 12)
>         (mem:SI (plus:SI (reg/f:SI 1 1)
>                 (const_int 12 [0xc])) [0 S4 A8])) -1 (nil)
>     (nil))
> ../net/src/net_dbg.c:668: internal compiler error: in propagate_one_insn, at 
> flow.c:1699
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Looks like the code in rs6000_stack_info in config/rs6000/rs6000.c
does not consider the possibility of the -fcall-used option.  It
checks regs_ever_live without checking call_used_regs.

I don't have a solution to suggest, other than patching the compiler.

Ian

Reply via email to