This is an archive of the discontinued LLVM Phabricator instance.

[flang] Accept an assumed-rank array as operand of ASSOCIATED()
ClosedPublic

Authored by klausler on Jul 17 2023, 10:31 AM.

Details

Summary

The ASSOCIATED() intrinsic was mistakenly defined in the intrinsic
function table as requiring operands of known rank, which unintentionally
prevented assumed-rank dummy arguments from being tested.

Fixes llvm-test-suite/Fortran/gfortran/regression/pr88932.f90.

Diff Detail

Event Timeline

klausler created this revision.Jul 17 2023, 10:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2023, 10:31 AM
klausler requested review of this revision.Jul 17 2023, 10:31 AM
klausler removed a project: Restricted Project.
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2023, 4:48 PM
vzakhari accepted this revision.Jul 20 2023, 5:26 PM

LGTM. Thank you!

This revision is now accepted and ready to land.Jul 20 2023, 5:26 PM