This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84424] [8 Regression] ICE on C++ code: tree check: expected record_type or union_type or qual_union_type, have vector_type in reduced_constant_expression_p, at cp/constexpr.c:1766
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Feb 2018 22:04:15 +0000
- Subject: [Bug c++/84424] [8 Regression] ICE on C++ code: tree check: expected record_type or union_type or qual_union_type, have vector_type in reduced_constant_expression_p, at cp/constexpr.c:1766
- Auto-submitted: auto-generated
- References: <bug-84424-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84424
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-02-16
CC| |jason at gcc dot gnu.org,
| |msebor at gcc dot gnu.org
Summary|ICE on C++ code: tree |[8 Regression] ICE on C++
|check: expected record_type |code: tree check: expected
|or union_type or |record_type or union_type
|qual_union_type, have |or qual_union_type, have
|vector_type in |vector_type in
|reduced_constant_expression |reduced_constant_expression
|_p, at cp/constexpr.c:1766 |_p, at cp/constexpr.c:1766
Ever confirmed|0 |1
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I can confirm it with r257668 but not with the top of trunk (r257768). The
regression was introduced in r251948. I vaguely remember a bug with a test
case similar to this one go by but I can't find it. Can you please retry with
a newer revision and report back?