This is an archive of the discontinued LLVM Phabricator instance.

[flang] Change error to portability warning
ClosedPublic

Authored by klausler on Nov 30 2022, 2:42 PM.

Details

Summary

The standard does *not* require that a real or imaginary part of a complex
literal constant be a scalar if it is a named constant. Downgrade a
recently installed check to a portability warning, and document it.

Diff Detail

Event Timeline

klausler created this revision.Nov 30 2022, 2:42 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Nov 30 2022, 2:42 PM
PeteSteinfeld accepted this revision.Dec 1 2022, 9:32 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Dec 1 2022, 9:32 AM
This revision was automatically updated to reflect the committed changes.