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 3c9c9c1 commit 52492e6Copy full SHA for 52492e6
flang/lib/Semantics/check-omp-structure.cpp
@@ -261,7 +261,7 @@ void OmpStructureChecker::Enter(const parser::OpenMPLoopConstruct &x) {
261
case parser::OmpLoopDirective::Directive::TaskloopSimd: {
262
PushContext(beginDir.source, OmpDirective::TASKLOOP_SIMD);
263
SetContextAllowed(
264
- taskloopAllowedClauses | simdAllowedClauses - OmpClause::REDUCTION);
+ (taskloopAllowedClauses | simdAllowedClauses) - OmpClause::REDUCTION);
265
SetContextAllowedOnce(taskloopAllowedOnceClauses | simdAllowedOnceClauses);
266
SetContextAllowedExclusive(taskloopAllowedExclusiveClauses);
267
} break;
0 commit comments