[RX] Fix PR 81819

Oleg Endo oleg.endo@t-online.de
Thu Jan 11 15:33:00 GMT 2018


Hi,

The attached patch fixes PR 81819, which popped up on GCC 7.  I assume
it's also there on trunk, but can't build my app with trunk compiler
because it's got other issues.

Unfortunately I can't add the reproducer test case since it happens
only when building a bigger app with LTO.  But I have confirmed that
with this fix the app builds and runs.

OK for trunk and GCC 7?

Cheers,
Oleg

gcc/ChangeLog:
	PR target/81819
	* config/rx/rx.c (rx_is_restricted_memory_address):
	Handle SUBREG case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rx_pr81819.patch
Type: text/x-patch
Size: 384 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180111/5d9ec275/attachment.bin>


More information about the Gcc-patches mailing list