https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117747
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE: tree check: expected |ICE after error with gimple |class ‘type’, have |FE and undefined name, |‘exceptional’ (error_mark) |negating a constant |in | |useless_type_conversion_p, | |at gimple-expr.cc:86 | --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: ``` __GIMPLE void foo ( ) { b = -7 ; } ```