[Bug c/109619] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in fold_const_call_1, at fold-const-call.cc
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 8 04:04:21 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109619
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> ---
in fold_builtin_[123], replace `TREE_CODE (*) == ERROR_MARK` with
`error_operand_p (*)` will fix this.
More information about the Gcc-bugs
mailing list