https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121679
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 62204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62204&action=edit testcase At -O1, the call to f is removed during dse1 while at -O2, a second dse is needed to remove the call.