From: Hans-Peter Nilsson Date: Thu, 30 Apr 2009 08:10:37 +0000 (+0000) Subject: * gcse.c (gcse_constant_p): Fix typo in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa5ed76ed4312b0cff216c3909e8a84a711b1978;p=gcc.git * gcse.c (gcse_constant_p): Fix typo in last change. From-SVN: r146999 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90e4ab11399..a17306fdd3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-04-30 Hans-Peter Nilsson + + * gcse.c (gcse_constant_p): Fix typo in last change. + 2009-04-30 Rafael Avila de Espindola * plugin.c: Include plugin-version.h only if ENABLE_PLUGIN is defined. diff --git a/gcc/gcse.c b/gcc/gcse.c index fefdb8fce1f..ab3137eae02 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