This is an archive of the discontinued LLVM Phabricator instance.

[flang] Downgrade benign error message to a warning
ClosedPublic

Authored by klausler on Jan 12 2022, 2:08 PM.

Details

Summary

It's not conforming to specify the SAVE attribute more than
once for a variable, but it also doesn't hurt anything and
isn't fatal in other Fortran compilers. Downgrade the
message to a warning for better portability.

Diff Detail

Event Timeline

klausler created this revision.Jan 12 2022, 2:08 PM
klausler requested review of this revision.Jan 12 2022, 2:08 PM
PeteSteinfeld accepted this revision.Jan 13 2022, 7:03 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 13 2022, 7:03 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2022, 4:27 PM