public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Commit: 4.9 branch: Backport RX 'R' operator fix
@ 2014-12-24 13:36 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2014-12-24 13:36 UTC (permalink / raw)
  To: gcc-patches

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

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

only message in thread, other threads:[~2014-12-24 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-24 13:36 Commit: 4.9 branch: Backport RX 'R' operator fix 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).