https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61910
--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> --- It appears not depending on i value, for i=1 or 2. No explicit options used. Of course I used options -fsanizitized=address -fsanitized=undefined to generate gfortran. I think it is either a gfortran or a sanitizer bug.