projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2618f0
)
* loop.c: (invariant_p, case REG): hard_frame_pointer_rtx is invariant.
author
Doug Evans
<dje@gnu.org>
Fri, 24 Sep 1993 19:49:57 +0000
(19:49 +0000)
committer
Doug Evans
<dje@gnu.org>
Fri, 24 Sep 1993 19:49:57 +0000
(19:49 +0000)
From-SVN: r5461
gcc/loop.c
patch
|
blob
|
history
diff --git
a/gcc/loop.c
b/gcc/loop.c
index 989df7b119c7ec6e6d403a1e7567ab0a4aa2a3e3..6f68b58c5b3d8c9b2dc953abd765ff26b77b7301 100644
(file)
--- a/
gcc/loop.c
+++ b/
gcc/loop.c
@@
-2661,7
+2661,8
@@
invariant_p (x)
case REG:
/* We used to check RTX_UNCHANGING_P (x) here, but that is invalid
since the reg might be set by initialization within the loop. */
- if (x == frame_pointer_rtx || x == arg_pointer_rtx)
+ if (x == frame_pointer_rtx || x == hard_frame_pointer_rtx
+ || x == arg_pointer_rtx)
return 1;
if (loop_has_call
&& REGNO (x) < FIRST_PSEUDO_REGISTER && call_used_regs[REGNO (x)])