aboutsummaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-01-17 13:34:55 +1030
committerAlan Modra <amodra@gcc.gnu.org>2015-01-17 13:34:55 +1030
commitaed381270dc77cc5dd8f1a761fa66eeb5ebdc189 (patch)
treefbcafbcd3c17de592e8e225f0b9be4d878d54736 /gcc/cprop.c
parent48c528ae3a2fddd58a7e45b9ef334b42c1ea1686 (diff)
downloadgcc-aed381270dc77cc5dd8f1a761fa66eeb5ebdc189.zip
gcc-aed381270dc77cc5dd8f1a761fa66eeb5ebdc189.tar.gz
gcc-aed381270dc77cc5dd8f1a761fa66eeb5ebdc189.tar.bz2
Revert last change
From-SVN: r219792
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r--gcc/cprop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c
index e8182db..c9fb2fc 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -1189,12 +1189,10 @@ do_local_cprop (rtx x, rtx_insn *insn)
rtx newreg = NULL, newcnst = NULL;
/* Rule out USE instructions and ASM statements as we don't want to
- change the hard registers mentioned, and don't change fixed hard
- registers. */
+ change the hard registers mentioned. */
if (REG_P (x)
&& (REGNO (x) >= FIRST_PSEUDO_REGISTER
|| (GET_CODE (PATTERN (insn)) != USE
- && !fixed_regs[REGNO (x)]
&& asm_noperands (PATTERN (insn)) < 0)))
{
cselib_val *val = cselib_lookup (x, GET_MODE (x), 0, VOIDmode);