This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]