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 ab3fba8 commit eed0acbCopy full SHA for eed0acb
flang/lib/Semantics/resolve-directives.cpp
@@ -1952,8 +1952,7 @@ void OmpAttributeVisitor::PrivatizeAssociatedLoopIndexAndCheckLoopLevel(
1952
const auto &outer{std::get<std::optional<parser::DoConstruct>>(x.t)};
1953
if (outer.has_value()) {
1954
for (const parser::DoConstruct *loop{&*outer}; loop && level > 0; --level) {
1955
- // DO CONCURRENT is allowed for loop constructs but not loop nests
1956
- if (loop->IsDoConcurrent() && GetContext().associatedLoopLevel != 1) {
+ if (loop->IsDoConcurrent()) {
1957
auto &stmt =
1958
std::get<parser::Statement<parser::NonLabelDoStmt>>(loop->t);
1959
context_.Say(stmt.source,
flang/test/Lower/OpenMP/Todo/omp-doconcurrent.f90
0 commit comments