https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[13/14/15 Regression] Wrong |[13/14/15 Regression] Wrong |constant evaluation with |constant evaluation with |vector of struct |vector of struct due to | |loop interchange Keywords| |wrong-code Target Milestone|--- |13.4 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- t.C:13:21: optimized: applying unroll and jam with factor 2 t.C:13:21: optimized: loops interchanged in loop nest and -fno-loop-interchange fixes this. IIRC there's one or two open bugs with interchange. -fno-loop-unroll-and-jam doesn't help and -O2 -floop-interchange also fails.