This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]