This is an archive of the discontinued LLVM Phabricator instance.

[flang] Foil attempts to require interoperable objects be CONTIGUOUS
ClosedPublic

Authored by klausler on Aug 7 2023, 3:14 PM.

Details

Summary

BIND(C) interoperable descriptors may not be required to be CONTIGUOUS.

(Also fixed erroneous true result from IsDescriptor() predicate for
assumed-size arrays that was exposed by testing.)

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

Diff Detail

Event Timeline

klausler created this revision.Aug 7 2023, 3:14 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 7 2023, 3:14 PM
PeteSteinfeld accepted this revision.Aug 7 2023, 6:30 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Aug 7 2023, 6:30 PM