https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117070
--- Comment #1 from Ivan Pribec <ivan.pribec at gmail dot com> --- This is supposed to work already with the F2008 standard: > nagfor -f2008 dispatch_test.f90 NAG Fortran Compiler Release 7.2(Shin-Urayasu) Build 7203 Evaluation trial version of NAG Fortran Compiler Release 7.2(Shin-Urayasu) Build 7203 [NAG Fortran Compiler normal termination] > ./a.out PASS