https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99987
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Version|unknown |11.0 Status|UNCONFIRMED |NEW Keywords| |missed-optimization Component|ipa |tree-optimization Last reconfirmed| |2021-04-09 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. With -O2 DOM3 removes the call, with -O3 it does not.