This is an archive of the discontinued LLVM Phabricator instance.

[flang] Replace negative known CHARACTER length with zero in type analysis
ClosedPublic

Authored by klausler on Sep 21 2022, 6:22 PM.

Details

Summary

When a DynamicType for CHARACTER has a known length, correct a negative
length value to its effective length of zero so that all such types
compare equal in interface compatibility checking.

Diff Detail

Event Timeline

klausler created this revision.Sep 21 2022, 6:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2022, 6:22 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Sep 21 2022, 6:22 PM
PeteSteinfeld accepted this revision.Sep 22 2022, 7:10 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Sep 22 2022, 7:10 AM
This revision was landed with ongoing or failed builds.Sep 23 2022, 12:22 PM
This revision was automatically updated to reflect the committed changes.