projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35ad16
)
* stupid.c: (stupid_find_reg): never use HARD_FRAME_POINTER_REGNUM.
author
Doug Evans
<dje@gnu.org>
Fri, 24 Sep 1993 19:56:27 +0000
(19:56 +0000)
committer
Doug Evans
<dje@gnu.org>
Fri, 24 Sep 1993 19:56:27 +0000
(19:56 +0000)
From-SVN: r5469
gcc/stupid.c
patch
|
blob
|
history
diff --git
a/gcc/stupid.c
b/gcc/stupid.c
index 47d7740fb64fc9c4ade6f7ad4b927fdcda77d1fc..f9179f5009880afa8e5a264b6638b52f41507404 100644
(file)
--- a/
gcc/stupid.c
+++ b/
gcc/stupid.c
@@
-360,6
+360,9
@@
stupid_find_reg (call_preserved, class, mode,
#ifdef ELIMINABLE_REGS
for (i = 0; i < sizeof eliminables / sizeof eliminables[0]; i++)
SET_HARD_REG_BIT (used, eliminables[i].from);
+#if HARD_FRAME_POINTER_REGNUM != FRAME_POINTER_REGNUM
+ SET_HARD_REG_BIT (used, HARD_FRAME_POINTER_REGNUM);
+#endif
#else
SET_HARD_REG_BIT (used, FRAME_POINTER_REGNUM);
#endif