Page MenuHomePhabricator

[flang] Fix usage & catch errors for MAX/MIN with keyword= arguments

Authored by klausler on Nov 29 2021, 3:34 PM.



MAX(), MIN(), and their specific variants are defined with an unlimited
number of dummy arguments named A1=, A2=, &c. whose names are almost never
used in practice but should be allowed for and properly checked for the
usual errors when they do appear. The intrinsic table's entries otherwise
have fixed numbers of dummy argument definitions, so add some special
case handling in a few spots for MAX/MIN/&c. checking and procedure
characteristics construction.

Diff Detail

Event Timeline

klausler created this revision.Nov 29 2021, 3:34 PM
klausler requested review of this revision.Nov 29 2021, 3:34 PM
Renaud-K accepted this revision.Nov 29 2021, 3:56 PM
This revision is now accepted and ready to land.Nov 29 2021, 3:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2021, 12:54 PM