[Bug fortran/57894] New: min/max required actual argument missing

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 15 06:16:00 GMT 2013


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.



More information about the Gcc-bugs mailing list