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] [PR79542][Ada] Fix ICE in dwarf2out.c with nested func. inlining


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


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