mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 03:46:45 +08:00
s390.c (s390_fixup_clobbered_return_reg): Do nothing if __builtin_return_address was not used.
* config/s390/s390.c (s390_fixup_clobbered_return_reg): Do nothing if __builtin_return_address was not used. From-SVN: r65133
This commit is contained in:
parent
e1fea6ee0b
commit
7fe317e4ea
@ -1,3 +1,8 @@
|
||||
2003-04-01 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c (s390_fixup_clobbered_return_reg):
|
||||
Do nothing if __builtin_return_address was not used.
|
||||
|
||||
Tue Apr 1 18:18:23 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* i386.md (test patterns): Allow memory operand in operand1.
|
||||
|
@ -4905,6 +4905,12 @@ s390_fixup_clobbered_return_reg (return_reg)
|
||||
bool replacement_done = 0;
|
||||
rtx insn;
|
||||
|
||||
/* If we never called __builtin_return_address, register 14
|
||||
might have been used as temp during the prolog; we do
|
||||
not want to touch those uses. */
|
||||
if (!has_hard_reg_initial_val (Pmode, REGNO (return_reg)))
|
||||
return false;
|
||||
|
||||
for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
|
||||
{
|
||||
rtx reg, off, new_insn;
|
||||
|
Loading…
Reference in New Issue
Block a user