https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91077
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Note that this works when the variable std is changed to an allocatable.