This is an archive of the discontinued LLVM Phabricator instance.

[flang] Extension: unrestricted intrinsics as specifics in generics
ClosedPublic

Authored by klausler on Aug 7 2023, 2:44 PM.

Details

Summary

At least one other Fortran compiler supports the use of unrestricted intrinsic
functions as specific procedures in generic interfaces, and the usage seems
to be both useful and unambiguous. Support it with a portability warning.

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

Diff Detail

Event Timeline

klausler created this revision.Aug 7 2023, 2:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2023, 2:44 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 7 2023, 2:44 PM
vdonaldson accepted this revision.Aug 7 2023, 2:54 PM
This revision is now accepted and ready to land.Aug 7 2023, 2:54 PM
This revision was landed with ongoing or failed builds.Aug 8 2023, 10:46 AM
This revision was automatically updated to reflect the committed changes.