[Bug c/118948] [15 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in tree_single_nonnegative_warnv_p, at fold-const.cc:14878 since r15-328

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 20 05:22:35 GMT 2025


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect genericize_c_loop could be fixed up to include `if (error_operand_p
(cond))` somewhere inside and this will fix the issue.


More information about the Gcc-bugs mailing list