projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4137217
)
Fix MIPS compiler abort on Mesa, reported by Andy Tai.
author
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 14 May 1998 19:54:35 +0000
(12:54 -0700)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 14 May 1998 19:54:35 +0000
(12:54 -0700)
* reload.c (find_reloads): Don't penalize SCRATCH output reload.
From-SVN: r19756
gcc/reload.c
patch
|
blob
|
history
diff --git
a/gcc/reload.c
b/gcc/reload.c
index ef62ef92f442f97e53935b01ebc4019f01e3c2bf..8bfcbedd0a7c2b83338de907e12f9804863dc9df 100644
(file)
--- a/
gcc/reload.c
+++ b/
gcc/reload.c
@@
-3272,7
+3272,8
@@
find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
/* Input reloads can be inherited more often than output
reloads can be removed, so penalize output reloads. */
- if (operand_type[i] != RELOAD_FOR_INPUT)
+ if (operand_type[i] != RELOAD_FOR_INPUT
+ && GET_CODE (operand) != SCRATCH)
reject++;
}