Re: [PATCH] Fix segfault in inliner with attribute flatten

2017-12-11 Thread Richard Biener
On Mon, Dec 11, 2017 at 8:01 AM, Andi Kleen wrote: > From: Andi Kleen > > This fixes a segfault in gcc 7/8 when building turicreate. > > For some reason the node has no decl here, and there is a > crash when checking for attribute flatten. As said in the PR it looks like the order array is corru

[PATCH] Fix segfault in inliner with attribute flatten

2017-12-10 Thread Andi Kleen
From: Andi Kleen This fixes a segfault in gcc 7/8 when building turicreate. For some reason the node has no decl here, and there is a crash when checking for attribute flatten. gcc/: 2017-12-10 Andi Kleen PR ipa/83346 * ipa-inline.c (ipa_inline): Check for NULL pointer. gc