Hi Guys,

  I am backporting an RX-specific patch from the mainline to the 4.9
  branch as it fixes an ICE running the gcc test
  gcc.c-torture/compile/pr39423-2.c.

Cheers
  Nick

gcc/ChangeLog
2014-12-24  Nick Clifton  <ni...@redhat.com>

        Backport from mainline:
        2014-03-25  Nick Clifton  <ni...@redhat.com>

        * config/rx/rx.c (rx_print_operand): Allow R operator to accept
        SImode values.

Index: gcc/config/rx/rx.c
===================================================================
--- gcc/config/rx/rx.c  (revision 219054)
+++ gcc/config/rx/rx.c  (working copy)
@@ -733,7 +733,7 @@
       break;
 
     case 'R':
-      gcc_assert (GET_MODE_SIZE (GET_MODE (op)) < 4);
+      gcc_assert (GET_MODE_SIZE (GET_MODE (op)) <= 4);
       unsigned_load = true;
       /* Fall through.  */
     case 'Q':

Reply via email to