================
@@ -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()};
----------------
sebpop wrote:
This has been submitted separately
https://github.com/llvm/llvm-project/pull/138793
Without this change I cannot build flang on arm64-linux ubuntu 24.04 machine.
https://github.com/llvm/llvm-project/pull/140182
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits