diff mbox

Commit: 4.9 branch: Backport RX 'R' operator fix

Message ID 87k31htbss.fsf@redhat.com
State New
Headers show

Commit Message

Nick Clifton Dec. 24, 2014, 1:30 p.m. UTC
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  <nickc@redhat.com>

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

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

Patch

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':