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

Reply via email to