https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69695
--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> --- (In reply to Mikael Morin from comment #2) > This seems to be allowed, see 12.5.2.7: Interesting, so that's a F2008 feature. The Cray compiler indeed gets this right. > So this is probably a plain wrong-code bug. thanks for looking carefully!