Re: [PATCH] [MSP430] Fix PR/86662

2018-08-03 Thread Jeff Law
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 gc

[PATCH] [MSP430] Fix PR/86662

2018-07-27 Thread Jozef Lawrynowicz
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 S