This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57894] New: min/max required actual argument missing
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Jul 2013 06:14:39 +0000
- Subject: [Bug fortran/57894] New: min/max required actual argument missing
- Auto-submitted: auto-generated
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.