It appears that the latest version (and older versions) of gfortran hang while compiling the attached fortran code. It looks like it is related to the character strings being dimensioned by a length parameter passed in the arguments of the subroutine. If I hard code the length to a constant, the parser works fine.
-- Summary: gfortran hangs while parsing subroutine Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: critical Priority: P1 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rrr6399 at futuretek dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23798