diff mbox

Fix typo in rtl.c

Message ID 20150713170001.GG2876@redhat.com
State New
Headers show

Commit Message

Marek Polacek July 13, 2015, 5 p.m. UTC
While working on a new warning I found this typo.

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

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

	* rtl.c (rtx_equal_p_cb): Fix typo.


	Marek

Comments

Jeff Law July 13, 2015, 7:30 p.m. UTC | #1
On 07/13/2015 11:00 AM, Marek Polacek wrote:
> While working on a new warning I found this typo.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2015-07-13  Marek Polacek  <polacek@redhat.com>
>
> 	* rtl.c (rtx_equal_p_cb): Fix typo.
OK.
jeff
diff mbox

Patch

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);