[Bug c++/80294] [5/6/7 Regression] ICE with constexpr and inheritance

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 5 10:33:00 GMT 2017


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

--- Comment #13 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #12)
> r234636 just moved that, the constructor_elt ce = { index, NULL_TREE };
> being pushed had there been before Nathan's patch too.

But checking for valid elt when using FOR_EACH_CONSTRUCTOR_VALUE (*, *, elt) is
used elsewhere, too. I don't see why it shouldn't be used here.


More information about the Gcc-bugs mailing list