with current trunk the small to be attached testcase (derived from CP2K) leads to wrong code gfortran -g -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree-form -fgraphite -fgraphite-identity -floop-block -floop-strip-mine -floop-interchange test.f90 > ./a.out STOP X
Created attachment 17050 [details] testcase
FYI, it is the assignment at line 22 that 'goes wrong'
Fixed.