[Bug c++/87398] g++ ICE on valid code: tree check: expected record_type or union_type or qual_union_type, have array_type in cxx_eval_constant_expression, at cp/constexpr.c:4820

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 24 09:11:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-09-24
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 44741
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44741&action=edit
gcc9-pr87398.patch

Untested fix.


More information about the Gcc-bugs mailing list