aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2009-04-30 08:10:37 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2009-04-30 08:10:37 +0000
commitfa5ed76ed4312b0cff216c3909e8a84a711b1978 (patch)
treeda4d9e8ad1adda1e8b4afadbe85006cdcdbeafb5 /gcc/gcse.c
parent0acbbdb04f5169e93eb7f5d56a039e976e1823eb (diff)
downloadgcc-fa5ed76ed4312b0cff216c3909e8a84a711b1978.zip
gcc-fa5ed76ed4312b0cff216c3909e8a84a711b1978.tar.gz
gcc-fa5ed76ed4312b0cff216c3909e8a84a711b1978.tar.bz2
* gcse.c (gcse_constant_p): Fix typo in last change.
From-SVN: r146999
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index fefdb8f..ab3137e 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -1303,7 +1303,7 @@ gcse_constant_p (const_rtx x)
/* Since X might be inserted more than once we have to take care that it
is sharable. */
- return CONSTANT_P (x) && (GET_CODE (X) != CONST || shared_const_p (x));
+ return CONSTANT_P (x) && (GET_CODE (x) != CONST || shared_const_p (x));
}
/* Scan pattern PAT of INSN and add an entry to the hash TABLE (set or