[Bug fortran/25099] New: better diagnostic needed

jv244 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Sat Nov 26 18:07:00 GMT 2005


using GNU Fortran 95 (GCC) 4.1.0 20051126 (prerelease)  with '-g -pedantic
-std=f95', I get a bad / no diagnostic for the following invalid code:

integer :: I(2,2),J(2)
CALL S(I,J)
CONTAINS
ELEMENTAL SUBROUTINE S(I,J)
  INTEGER, INTENT(IN) :: I,J
END SUBROUTINE S
END


-- 
           Summary: better diagnostic needed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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



More information about the Gcc-bugs mailing list