gcc/ChangeLog:
* omp-transform-loops.cc (walk_omp_for_loops): Handle
GIMPLE_OMP_METADIRECTIVE.
+2023-03-31 Frederik Harwath <frederik@codesourcery.com>
+
+ * omp-transform-loops.cc (walk_omp_for_loops): Handle
+ GIMPLE_OMP_METADIRECTIVE.
+
2023-03-27 Julian Brown <julian@codesourcery.com>
* omp-builtins.def (BUILT_IN_OMP_IS_INITIAL_DEVICE): New builtin.
break;
}
+ case GIMPLE_OMP_METADIRECTIVE:
+ {
+ gimple *variant = gimple_omp_metadirective_variants (stmt);
+
+ while (variant)
+ {
+ gbind *bind = ctx->bind;
+ walk_omp_for_loops (gimple_omp_body_ptr (variant), ctx);
+ ctx->bind = bind;
+
+ variant = variant->next;
+ }
+ }
+ break;
+
default:
gcc_assert (!gimple_has_substatements (stmt));
continue;