https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80477
--- Comment #1 from Stefano Zaghi <stefano.zaghi at cnr dot it> --- 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.