This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34425] New: bogus warning


trunk gfortran, testcase derived from CP2K:

INTEGER :: i(-1:1)
CALL S(i)
CONTAINS
 SUBROUTINE S(i)
  INTEGER :: i(0:2)
 END SUBROUTINE
END

test.f90:2.7:

CALL S(i)
      1
Warning: Actual argument contains too few elements for dummy argument 'i' (1/3)
at (1)


-- 
           Summary: bogus warning
           Product: gcc
           Version: 4.3.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=34425


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]