https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115143
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[11/12 Regression] tree |[11 Regression] tree check: |check: expected class |expected class 'type', have |'type', have 'exceptional' |'exceptional' (error_mark) |(error_mark) in |in |useless_type_conversion_p, |useless_type_conversion_p, |at gimple-expr.cc:85 |at gimple-expr.cc:85 Known to work| |12.3.1 --- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #16) > Fixed on the GCC 13 branch too. Backporting further requires removing the > hunk that handles diamond bbs as that was not in 12 or 11. I will handle > that tomorrow. Fixed on the GCC 12 branch too now. Will handle 11 tomorrow.