https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57093 --- Comment #3 from Damian Rouson <damian at sourceryinstitute dot org> --- This bug report can be closed now. The submitted code completes without error with gfortran 5.3 and 6.0.0.