[clang] [flang] [flang] add -floop-interchange and enable it with opt levels (PR #140182)
Kiran Chandramohan via cfe-commits
cfe-commits at lists.llvm.org
Fri May 16 03:03:03 PDT 2025
================
@@ -421,7 +421,8 @@ static void CheckSubscripts(
static void CheckSubscripts(
semantics::SemanticsContext &context, CoarrayRef &ref) {
- const Symbol &coarraySymbol{ref.GetBase().GetLastSymbol()};
+ const auto &base = ref.GetBase();
+ const Symbol &coarraySymbol{base.GetLastSymbol()};
----------------
kiranchandramohan wrote:
Nit: Is this an unrelated change?
https://github.com/llvm/llvm-project/pull/140182
More information about the cfe-commits
mailing list