Stage1 compiler miscompiles Ada on ia64

Richard Henderson rth@redhat.com
Sun Dec 30 14:48:00 GMT 2001


On Sun, Dec 30, 2001 at 11:10:53PM +0100, Andreas Schwab wrote:
> (insn 2549 3619 3701 (use (reg/i:TI 8 r8)) -1 (insn_list 3618 (nil))
>     (expr_list:REG_DEAD (reg:DI 9 r9)
>         (nil)))
[...]
> The basic problem seems to be that insn 2549 marks register r9 as dead.

If r9 is being marked dead, then I would suspect that the 
DECL_RTL (DECL_RESULT (cfun->decl)) is incorrect.

If you can, put a breakpoint on diddle_return_value for
the function being miscompiled, and see what it thinks the
return register is.


r~



More information about the Gcc mailing list