------- Comment #2 from kargl at gcc dot gnu dot org 2007-06-18 01:46 ------- According to Lahey, the code is invalid.
Lahey/Fujitsu Fortran 95 Source Check Output Compiling program unit halvestring at line 1: Compiling program unit testspec at line 9: 2049-S: "SOURCE.F90", line 13: Automatic object 'stringb' cannot be specified in the main program unit. Encountered 1 error, 0 warnings, 0 informations in file SOURCE.F90. Compiling file SOURCE.F90. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32386