https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120747
--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like the same issue as those others listed as `see also`. Basically reassociation is tied to the ssa #s and any small improvements to other code earlier might change the ssa versions #s and that alone causes the difference when it comes to forming the FMAs as described in comment #14. I am not sure what we should do here though.