This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Stage1 compiler miscompiles Ada on ia64
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 30 Dec 2001 14:43:32 -0800
- Subject: Re: Stage1 compiler miscompiles Ada on ia64
- References: <jed70w9x5e.fsf@sykes.suse.de>
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~