This is an archive of the discontinued LLVM Phabricator instance.

[flang] Attempt to silence new GCC warnings
ClosedPublic

Authored by klausler on Jul 31 2023, 3:10 PM.

Details

Summary

Restructure three code sites that are now eliciting new warnings
from the latest GCC compiler. One of these looks like a
legitimate problem with a reference to an expression temporary.

Fixes https://github.com/llvm/llvm-project/issues/64200.

Diff Detail

Event Timeline

klausler created this revision.Jul 31 2023, 3:10 PM
klausler requested review of this revision.Jul 31 2023, 3:10 PM
This revision is now accepted and ready to land.Jul 31 2023, 3:11 PM
klausler updated this revision to Diff 545830.Jul 31 2023, 3:16 PM

Fix patch, it had a glitch in it that looks like an inadvertent editor paste.

klausler updated this revision to Diff 546266.Aug 1 2023, 4:48 PM

Address warnings without breaking tests.

This revision was automatically updated to reflect the committed changes.