https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120619
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- fn = gimple_call_fn (stmt); /* Functions with the attribute are by definition irrevocable. */ if (is_tm_irrevocable (fn)) return true;