[PATCH] [MSP430] Fix PR/86662

Jeff Law law@redhat.com
Fri Aug 3 18:12:00 GMT 2018


On 07/27/2018 07:09 AM, Jozef Lawrynowicz wrote:
> As reported in PR/86662, use of __int20 in a program built with -mlarge and
> -flto causes a segfault for msp430 due to endless recursion in
> gimple_get_alias_set.
> The attached patch fixes this.
> The segfault can be observed on the gcc-7 and gcc-8 branches, and on trunk.
> The testcase works in gcc-6
> 
> Successfully boostrapped and regtested on x86_64-pc-linux-gnu and
> msp430-elf.
> This fixes many LTO C and C++ tests for msp430 when the testsuite is
> invoked
> with the -mlarge target flag.
> 
> Ok for gcc-7-branch, gcc-8-branch, and trunk?
> 
OK for the trunk.  Please give it a week or two of soak time before
backporting.

jeff



More information about the Gcc-patches mailing list