mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever we're generating now.
* alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
not whatever we're generating now.
From-SVN: r22272
This commit is contained in:
committed by
Richard Henderson
parent
91b7921789
commit
26c24ab4aa
@@ -1,3 +1,8 @@
|
||||
Sat Sep 5 21:46:47 1998 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
|
||||
not whatever we're generating now.
|
||||
|
||||
Sat Sep 5 14:23:31 1998 Torbjorn Granlund <tege@matematik.su.se>
|
||||
|
||||
* m68k.md (zero_extendsidi2): Fix typo.
|
||||
|
||||
@@ -2468,6 +2468,8 @@ alpha_return_addr (count, frame)
|
||||
static int
|
||||
alpha_ra_ever_killed ()
|
||||
{
|
||||
rtx top;
|
||||
|
||||
#ifdef ASM_OUTPUT_MI_THUNK
|
||||
if (current_function_is_thunk)
|
||||
return 0;
|
||||
@@ -2475,8 +2477,11 @@ alpha_ra_ever_killed ()
|
||||
if (!alpha_return_addr_rtx)
|
||||
return regs_ever_live[REG_RA];
|
||||
|
||||
return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA),
|
||||
get_insns(), NULL_RTX);
|
||||
push_topmost_sequence ();
|
||||
top = get_insns();
|
||||
pop_topmost_sequence ();
|
||||
|
||||
return reg_set_between_p (gen_rtx_REG (Pmode, REG_RA), top, NULL_RTX);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user