https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119903
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Target Milestone|--- |13.4 Last reconfirmed| |2025-04-22 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I am going to take a few days to figure out a decent way of fixing this outside of gimple-fold. Note I found this while improving/fixing forwprop when it comes to the looping around until fold_stmt/local optimizations are no longer happening. Note I am not sure this is an important bug to even fix on release branches either since I doubt noncall exceptions with trapping math is not used that much at all.