https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Right away I can say it is not phiopt that is causing the issue: That is: doing `__attribute__((optimize(3, "no-ssa-phiopt")))` (instead of just 3) still fails. Turning off SRA allows it to work but I suspect SRA is just exposing it.