We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97159a3 commit e7d569aCopy full SHA for e7d569a
flang/lib/Lower/Bridge.cpp
@@ -2000,7 +2000,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
2000
llvm::SmallVector<mlir::Value> reduceOperands;
2001
llvm::SmallVector<mlir::Attribute> reduceAttrs;
2002
// Create DO CONCURRENT reduce operands and attributes
2003
- for (const auto reduceSym : info.reduceSymList) {
+ for (const auto &reduceSym : info.reduceSymList) {
2004
const fir::ReduceOperationEnum reduce_operation = reduceSym.first;
2005
const Fortran::semantics::Symbol *sym = reduceSym.second;
2006
fir::ExtendedValue exv = getSymbolExtendedValue(*sym, nullptr);
0 commit comments