Skip to content

[flang] min/max intrinsics are wrongly being interpreted as semantically valid #56303

@NimishMishra

Description

@NimishMishra

flang-new currently does not report any error for statements like the following:

integer :: x

x = min(x)
x = max(x)

whereas both require at least two arguments. gfortran correctly reports error on these statements

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions