This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix IPA flattening ICE (PR ipa/82801)
- From: Andi Kleen <ak at linux dot intel dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, Richard Biener <rguenther at suse dot de>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Dec 2017 12:11:05 -0800
- Subject: Re: [PATCH] Fix IPA flattening ICE (PR ipa/82801)
- Authentication-results: sourceware.org; auth=none
- References: <20171212185758.GX2353@tucnak>
Jakub Jelinek <jakub@redhat.com> writes:
> Hi!
>
> We ICE on the following testcase, because we first gather all cgraph nodes
> in an array and then we walk it backwards and flatten_function anything
> that has "flatten" attribute. But flatten_function can result in cgraph
> node removal and so we then try to dereference removed cgraph nodes.
I wonder if this fixes PR83346 too?
This is also about a flatten crash.
-Andi