This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [PR79542][Ada] Fix ICE in dwarf2out.c with nested func. inlining
- From: Pierre-Marie de Rodat <derodat at adacore dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Jun 2017 18:37:22 +0200
- Subject: Re: [PATCH] [PR79542][Ada] Fix ICE in dwarf2out.c with nested func. inlining
- Authentication-results: sourceware.org; auth=none
- References: <20170314122410.21497-1-derodat@adacore.com> <CADzB+2=pi0de_o8tOzeQiayK9L8uMapHswTmhh=VZOOTTYL9mw@mail.gmail.com> <CADzB+2mWabNoaComYo8zdKKPvk85WAix79hZ=GpcQMxuA9Zz_Q@mail.gmail.com> <e27c3959-8c90-76e1-35c5-3831f3b586b1@adacore.com>
On 05/26/2017 04:12 PM, Pierre-Marie de Rodat wrote:
I tried this, but I got a crash when compiling the Ada runtime
(g-awk.adb). I could not extract a reproducer, but the idea is that
because of the call to set_decl_origin_self, some DECLs have themselves
as DECL_ABSTRACT_ORIGIN. As a result, my patch in modified_type_die does
not prevent execution from calling gen_typedef_die with a DECL that has
a non-null abstract origin. So I have to soften the assertion so that
this specific case was still allowed in gen_typedef_die.
So here’s the update patch: bootstrapped and regtested fine on
x86_64-linux.
Ping for the updated patch, originally submitted at
https://gcc.gnu.org/ml/gcc-patches/2017-05/msg02049.html
Thanks!
--
Pierre-Marie de Rodat