https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110918
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-08-20 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. The first change in IR is threadfull2 and then VRP2 is not able to remove the call to foo.