We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d99e9 commit 57d87edCopy full SHA for 57d87ed
flang/include/flang/Lower/BoxAnalyzer.h
@@ -403,9 +403,9 @@ class BoxAnalyzer : public fir::details::matcher<BoxAnalyzer> {
403
continue;
404
}
405
} else if (subs.ubound().isStar()) {
406
- assert(Fortran::semantics::IsNamedConstant(sym) ||
407
- Fortran::semantics::IsCUDAShared(sym) &&
408
- "expect implied shape constant");
+ assert((Fortran::semantics::IsNamedConstant(sym) ||
+ Fortran::semantics::IsCUDAShared(sym)) &&
+ "expect implied shape constant");
409
shapes.push_back(fir::SequenceType::getUnknownExtent());
410
411
0 commit comments