aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-07-13 19:41:01 +0000
committerMarek Polacek <polacek@redhat.com>2015-07-13 19:41:01 +0000
commit155ad7f95a623d819e8fa99e6ceec1e98eab6433 (patch)
treef0cecb2ec845ef909b309074350bdb30d9557981
parent3e35d28d18e510428bb7bf6272befe01abb5bc8a (diff)
* rtl.c (rtx_equal_p_cb): Fix typo.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@225747 138bc75d-0d04-0410-961f-82ee72b054a4
-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 3e66a1d2569..4f3bc5bcbf9 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 dccf298563b..b1b485ed60f 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);