https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118902
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-02-17 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Mine for at least GCC 16. Note if we move p to be a global variable, the predicated VN works as &p becomes a "constant". The main reason why I am filing this is because the patch which I added to PR 118867 didn't have a testcase when I looked into the code.