https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50555
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > I found it fixed in 5.2.0 and maybe already in 4.8.2 Are you sure of that? I am expecting an error for the test in comment 0, but I get none with trunk (6.0), 5.2, and 4.8: [Book15] f90/bug% gfc pr50555.f90 [Book15] f90/bug% gfortran pr50555.f90 [Book15] f90/bug% gfc48 pr50555.f90