This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80294] [5/6/7 Regression] ICE with constexpr and inheritance
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 05 Apr 2017 10:41:15 +0000
- Subject: [Bug c++/80294] [5/6/7 Regression] ICE with constexpr and inheritance
- Auto-submitted: auto-generated
- References: <bug-80294-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't know what it means to have NULL elt and it looks weird to me, but I'm
not a C++ FE maintainer, I assume Jason and/or Nathan will review your patch
and know what it means.
Just grepping through FOR_EACH_CONSTRUCTOR_VALUE reveals that many don't really
accept NULL elements (e.g. use TREE_TYPE on the elements), while some others
could cope with it (e.g. when value_dependent_expression_p or
type_dependent_expression_p is called on it).