Skip to content

Commit 0ca23a3

Browse files
[Flang]Fix the build with the EXPENSIVE_CHECKS enabled (#162541)
1 parent ab2c145 commit 0ca23a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Optimizer/CodeGen/CodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3348,7 +3348,7 @@ struct DoConcurrentSpecifierOpConversion : public fir::FIROpConversion<OpTy> {
33483348
mlir::ConversionPatternRewriter &rewriter) const override {
33493349
#ifdef EXPENSIVE_CHECKS
33503350
auto uses = mlir::SymbolTable::getSymbolUses(
3351-
specifier, specifier->getParentOfType<mlir::ModuleOp>());
3351+
specifier, specifier->template getParentOfType<mlir::ModuleOp>());
33523352

33533353
// `fir.local|fir.declare_reduction` ops are not supposed to have any uses
33543354
// at this point (i.e. during lowering to LLVM). In case of serialization,

0 commit comments

Comments
 (0)