This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]