------- Comment #8 from terry at chem dot gu dot se 2008-01-23 21:54 ------- Rather than open a new bug, I'll tack onto this one as it's pretty much the same bug in a different context.
The latest gfortran does indeed give a sensible error for the test case above. However, if we put something like: real(kind=8),dimension(1))::r2 into that code, we still get strange and bizarre errors: aa.f90:4.13: real(kind=8),dimension(1))::r2 1 Error: Invalid character in name at (1) This is with 4.3.0 20080118. -- terry at chem dot gu dot se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34325