https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86735

--- Comment #11 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> If you build for haswell or skylake architecture, that executable will
> not run on ivybridge, of course.

Thanks for the explanation. Note that

% gfcp pr86735.f90 -Ofast -march=skylake -Wall -Wextra -fcheck=all
% ./a.out
           1           2           3           4           5           6       
   7           8           9          10          11          12          13   
      14          15          16
           1           2           3           4           5           6       
   7           8           9          10          11          12          13   
      14          15          16

Reply via email to