aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-07-13 19:41:01 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2015-07-13 19:41:01 +0000
commitc05fbb626f931365ee06f63ea99af53cfea99fe1 (patch)
treef0cecb2ec845ef909b309074350bdb30d9557981 /gcc
parent51cef06e02c9dce897921c208cc6951e85a93398 (diff)
downloadgcc-c05fbb626f931365ee06f63ea99af53cfea99fe1.zip
gcc-c05fbb626f931365ee06f63ea99af53cfea99fe1.tar.gz
gcc-c05fbb626f931365ee06f63ea99af53cfea99fe1.tar.bz2
* rtl.c (rtx_equal_p_cb): Fix typo.
From-SVN: r225747
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/rtl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3e66a1d..4f3bc5b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-13 Marek Polacek <polacek@redhat.com>
+
+ * rtl.c (rtx_equal_p_cb): Fix typo.
+
2015-07-13 Andrew MacLeod <amacleod@redhat.com>
* omega.h: Don't include config.h, don't include params.h again if
diff --git a/gcc/rtl.c b/gcc/rtl.c
index dccf298..b1b485e 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -441,7 +441,7 @@ rtx_equal_p_cb (const_rtx x, const_rtx y, rtx_equal_p_callback_function cb)
case DEBUG_PARAMETER_REF:
return DEBUG_PARAMETER_REF_DECL (x)
- == DEBUG_PARAMETER_REF_DECL (x);
+ == DEBUG_PARAMETER_REF_DECL (y);
case ENTRY_VALUE:
return rtx_equal_p_cb (ENTRY_VALUE_EXP (x), ENTRY_VALUE_EXP (y), cb);