This is an archive of the discontinued LLVM Phabricator instance.

[flang] Accept TYPE(intrinsic type) in declarations only for non-extension type
ClosedPublic

Authored by klausler on Apr 13 2022, 1:08 PM.

Details

Summary

To avoid clashing with names of user derived types, the redundant
syntax TYPE(intrinsic type spec) must be interpreted as a monomorphic
derived type when "intrinsic type spec" is a single word. This
affects TYPE(BYTE) and TYPE(DOUBLECOMPLEX), but not TYPE(DOUBLE COMPLEX)
in free form source.

Diff Detail

Event Timeline

klausler created this revision.Apr 13 2022, 1:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:08 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 13 2022, 1:08 PM
jeanPerier accepted this revision.Apr 14 2022, 5:35 AM

Looks good

This revision is now accepted and ready to land.Apr 14 2022, 5:35 AM