While working on a new warning I found this typo.

Bootstrapped/regtested on x86_64-linux, ok for trunk?

2015-07-13  Marek Polacek  <pola...@redhat.com>

        * rtl.c (rtx_equal_p_cb): Fix typo.

diff --git gcc/rtl.c gcc/rtl.c
index dccf298..b1b485e 100644
--- gcc/rtl.c
+++ 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);

        Marek

Reply via email to