https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98458
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The test compiles if I replace
print *, tmp
with
print *, tmp(3,1) ! or (6,1)
but it prints
1 2 2 3 3 4
instead of 2 or 4.
