This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: 4.9 branch: Backport RX 'R' operator fix
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 24 Dec 2014 13:30:43 +0000
- Subject: Commit: 4.9 branch: Backport RX 'R' operator fix
- Authentication-results: sourceware.org; auth=none
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':