------- Additional Comments From tobi at gcc dot gnu dot org  2004-12-15 17:33 
-------
This is much worse than it seems. The problem is in statement matching, e.g. we
accept this, as if there was a semicolon on the indicated line:
      subroutine ordern( ) 
      real, pointer :: aux(:,:) 
C Nullify pointers 
        nullify(aux) i = i + 1 !<------ SYNTAX ERROR
C Set default sizes for order N arrays 
      end subroutine ordern

the problem is that we don't match the end of statement correctly. I have a
patch which addresses this case, but this problem will quite probably affect
other statements as well, so I'm looking into those first.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobi at gcc dot gnu dot org
           Severity|normal                      |critical
           Keywords|                            |accepts-invalid
            Summary|gfortran fails to recognise |incorrect parsing in fixed-
                   |comment line.               |form


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18993

Reply via email to