[Bug fortran/34325] Wrong error message for syntax error

terry at chem dot gu dot se gcc-bugzilla@gcc.gnu.org
Wed Jan 23 22:32:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list