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/57894] New: min/max required actual argument missing


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

            Bug ID: 57894
           Summary: min/max required actual argument missing
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com

! required  MIN/MAX actual argument associated with A2 is missing
! "Exactly one actual argument shall be associated with each nonoptional dummy
argument"
! gfortran should reject this code
      i=min(a1=1,a3=2) ! a1 and a2 are nonoptional, a3 is optional
      i=max(a1=1,a3=2) ! a1 and a2 are nonoptional, a3 is optional
      end
This is one is minor, but it should be fixed one day, 
just to adhere to the standard.


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