This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [MSP430] Fix PR/86662
- From: Jeff Law <law at redhat dot com>
- To: Jozef Lawrynowicz <jozef dot l at mittosystems dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 Aug 2018 12:11:59 -0600
- Subject: Re: [PATCH] [MSP430] Fix PR/86662
- References: <63bcb59a-99fe-12c6-0042-41741ed7043f@mittosystems.com>
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