diff mbox

Commit: 4.5: Fix typo in rx.c

Message ID m37h71s63u.fsf@redhat.com
State New
Headers show

Commit Message

Nick Clifton July 29, 2011, 11:01 a.m. UTC
Hi Guys,

  I am applying the patch below to the 4.5 branch to fix a typo in the
  code to check the setpsw builtin.

Cheers
  Nick

gcc/ChangeLog
2011-07-29  Nick Clifton  <nickc@redhat.com>

	* config/rx/rx.c (rx_expand_builtin): Fix typo checking the setpsw
	builtin.
diff mbox

Patch

Index: gcc/config/rx/rx.c
===================================================================
--- gcc/config/rx/rx.c	(revision 176922)
+++ gcc/config/rx/rx.c	(working copy)
@@ -2158,10 +2158,10 @@ 
       if (! valid_psw_flag (op, "clrpsw"))
 	return NULL_RTX;
       return rx_expand_void_builtin_1_arg (op, gen_clrpsw, false);
+    case RX_BUILTIN_SETPSW:  
       if (! valid_psw_flag (op, "setpsw"))
 	return NULL_RTX;
       return rx_expand_void_builtin_1_arg (op, gen_setpsw, false);
-    case RX_BUILTIN_SETPSW:  
     case RX_BUILTIN_INT:     return rx_expand_void_builtin_1_arg
 	(op, gen_int, false);
     case RX_BUILTIN_MACHI:   return rx_expand_builtin_mac (exp, gen_machi);