https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80477
--- Comment #2 from Stefano Zaghi ---
A very kind and great Fortraner (Chris MacMackin) has just let me know that a
very similar (or really the same) bug has been already reported (60913) here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60913
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80477
--- Comment #1 from Stefano Zaghi ---
I forget to say that I test this issue with GNU gfortran gcc version 6.3.1
20170306 and gcc version 7.0.0 20161206 (experimental).
My best regards.