[Bug tree-optimization/97378] [11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 since r11-3685-gfcae5121154d1c33

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 12 11:17:14 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97378

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The substitute-and-fold engine was designed in a way to queue stmt removal and
it has to adjust all conditions that make unreachable code unreachable to
trivial true/false conditions so CFG cleanup will get rid of those regions.

It all worked fine before.


More information about the Gcc-bugs mailing list