https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66227
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.5.0
Target Milestone|--- |5.5
Known to fail| |5.4.1, 6.2.0
--- Comment #8 from janus at gcc dot gnu.org ---
Fixed on trunk with r242535. For more discussion of the fix see the thread
starting at https://gcc.gnu.org/ml/fortran/2016-11/msg00150.html.
I'll backport the fix to the release branches soon if no problems appear on
trunk.