aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-14 17:08:42 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-14 17:08:42 +0000
commit42cbb21e312d61f2f021fdf13719beaf91e23169 (patch)
tree95a34b6ced24ac7d8b25b3d0768dbbb429f9ac2e /gcc/reload.c
parent1f37c924b229d0303f05e699742e068bc88a28d3 (diff)
Temporarily revert previous
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191306 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index 2e41ed6498e..f4f3ed03d85 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -2036,12 +2036,7 @@ find_dummy_reload (rtx real_in, rtx real_out, rtx *inloc, rtx *outloc,
However, we only ignore IN in its role as this reload.
If the insn uses IN elsewhere and it contains OUT,
that counts. We can't be sure it's the "same" operand
- so it might not go through this reload.
-
- We also need to avoid using OUT if it, or part of it, is a
- fixed register. Modifying such registers, even transiently,
- may have undefined effects on the machine, such as modifying
- the stack pointer. */
+ so it might not go through this reload. */
saved_rtx = *inloc;
*inloc = const0_rtx;
@@ -2054,8 +2049,7 @@ find_dummy_reload (rtx real_in, rtx real_out, rtx *inloc, rtx *outloc,
for (i = 0; i < nwords; i++)
if (! TEST_HARD_REG_BIT (reg_class_contents[(int) rclass],
- regno + i)
- || fixed_regs[regno + i])
+ regno + i))
break;
if (i == nwords)