https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100532
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[12 Regression] ICE: tree |ICE: tree check: expected
|check: expected class |class ‘type’, have
|‘type’, have ‘exceptional’ |‘exceptional’ (error_mark)
|(error_mark) in |in
|useless_type_conversion_p, |useless_type_conversion_p,
|at gimple-expr.c:259 |at gimple-expr.c:259
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
It isn't a GCC 12 regression. r10-0 has the same ICE. It was hidden on release
branches.