This is an archive of the discontinued LLVM Phabricator instance.

[flang] Handle mismatches of procedure type args
ClosedPublic

Authored by luporl on Mar 8 2023, 10:43 AM.

Details

Summary

Fortran allows type mismatch when passing actual arguments to
procedures and most cases were already being handled correctly by
Flang. However, conversion of data types to and from procedures and
conversion between procedures and char procedures were not always
handled properly. The missing cases were added and these
conversions are supported now.

Fixes #60550

Diff Detail

Event Timeline

luporl created this revision.Mar 8 2023, 10:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 10:43 AM
luporl requested review of this revision.Mar 8 2023, 10:43 AM
jeanPerier accepted this revision.Mar 14 2023, 2:52 AM

Looks good.

This revision is now accepted and ready to land.Mar 14 2023, 2:52 AM
This revision was automatically updated to reflect the committed changes.