https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91756
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-09-13 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It works fine on x86_64-linux with {,-m32} but fails with -fno-use-linker-plugin. This causes the global vars to not resolve to constants. With -fno-tree-vrp it passes because DOM optimizes the bptr2->a[ij].bar load. FRE misses this for some reason, I'll investigate why.