[Bug c++/98744] [11 Regression] ICE in gimple_call_arg, at gimple.h:3246 since r11-6735-g424deca72b63e644

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 22 17:00:48 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98744

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #7)
> looks strange, isn't DECL_HAS_IN_CHARGE_PARM_P (fn) false on all
> base constructors (as those are the abstract ctors with the in_charge
> parameter removed and implied to be false)?
> I would have expected
>   if (!fn || DECL_HAS_VTT_PARM_P (fn))
> instead

Yes, that's the bug, thanks.

> But even elide4.C seems to suffer from this bug

With the bug fixed, elide4.C doesn't elide, and that's OK.


More information about the Gcc-bugs mailing list