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