aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-03-08 00:13:46 +0000
committerDoug Evans <dje@gnu.org>1996-03-08 00:13:46 +0000
commit1ee4af950a1ca0da892637caf35a67692601017a (patch)
treecab73dca64eae2c112f7ced6c676446c7e9a2acf /gcc
parentc4ce68534a192e1b452b70dee5a4bab71f6729e4 (diff)
downloadgcc-1ee4af950a1ca0da892637caf35a67692601017a.zip
gcc-1ee4af950a1ca0da892637caf35a67692601017a.tar.gz
gcc-1ee4af950a1ca0da892637caf35a67692601017a.tar.bz2
(eligible_for_epilogue_delay): Move set of `pat'.
From-SVN: r11495
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index dc6bcbf..bab6f8f 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -1083,8 +1083,6 @@ eligible_for_epilogue_delay (trial, slot)
if (get_attr_length (trial) != 1)
return 0;
- pat = PATTERN (trial);
-
/* If %g0 is live, there are lots of things we can't handle.
Rather than trying to find them all now, let's punt and only
optimize things as necessary. */
@@ -1101,6 +1099,8 @@ eligible_for_epilogue_delay (trial, slot)
return 0;
}
+ pat = PATTERN (trial);
+
/* Otherwise, only operations which can be done in tandem with
a `restore' insn can go into the delay slot. */
if (GET_CODE (SET_DEST (pat)) != REG