summaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-17 03:04:55 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-17 03:04:55 +0000
commitc63e3c453519ac340c99196bd5714b0a5fb3e557 (patch)
treefbcafbcd3c17de592e8e225f0b9be4d878d54736 /gcc/cprop.c
parent0c5d0bfa7acff089cdf3bdedd08b199bfbcf9c95 (diff)
downloadgcc-c63e3c453519ac340c99196bd5714b0a5fb3e557.tar.gz
Revert last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219792 138bc75d-0d04-0410-961f-82ee72b054a4
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 e8182dbfb8f..c9fb2fc5129 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);