public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Commit: 4.5: Fix typo in rx.c
@ 2011-07-29 11:38 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2011-07-29 11:38 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-29 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-29 11:38 Commit: 4.5: Fix typo in rx.c Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).