https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107994
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:45cff68d063b689bd6a9f30827b1fdd3f5ea2cb4 commit r12-9063-g45cff68d063b689bd6a9f30827b1fdd3f5ea2cb4 Author: Richard Biener <rguent...@suse.de> Date: Wed Dec 21 12:27:58 2022 +0100 middle-end/107994 - ICE after error with comparison gimplification The following avoids passing down error_mark_node to fold_convert. PR middle-end/107994 * gimplify.cc (gimplify_expr): Catch errorneous comparison operand. (cherry picked from commit 845b514e8a150447ba041294586af76a6ac05158)