Fix-up for commit 31ba6ead0d5083010698d9fc0d45c31a4ae1f61d
"openmp: Add GOMP_loop_static_worksharing and
GOMP_distribute_static_worksharing",
which (assuming ISL available) regressed:
PASS: gcc.dg/autopar/runtime-auto.c (test for excess errors)
PASS: gcc.dg/autopar/runtime-auto.c scan-tree-dump parloops2 "parallelizing"
PASS: gcc.dg/autopar/runtime-auto.c scan-tree-dump parloops2 "pragma omp
parallel"
[-PASS:-]{+FAIL:+} gcc.dg/autopar/runtime-auto.c scan-tree-dump parloops2
"__builtin_omp_get_num_threads"
gcc/testsuite/
* gcc.dg/autopar/runtime-auto.c: Adjust.
---
gcc/testsuite/gcc.dg/autopar/runtime-auto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/autopar/runtime-auto.c
b/gcc/testsuite/gcc.dg/autopar/runtime-auto.c
index c1a3131634d..f6d7335371b 100644
--- a/gcc/testsuite/gcc.dg/autopar/runtime-auto.c
+++ b/gcc/testsuite/gcc.dg/autopar/runtime-auto.c
@@ -47,7 +47,7 @@ main (void)
/* { dg-final { scan-tree-dump "pragma omp parallel" "parloops2" } } */
/* Check that instead of generating a num_threads(x) clause, the compiler calls
- "__builtin_omp_get_num_threads" that will set the number of threads at
+ "GOMP_loop_static_worksharing" that will set the number of threads at
program execution time. */
-/* { dg-final { scan-tree-dump "__builtin_omp_get_num_threads" "parloops2" } }
*/
+/* { dg-final { scan-tree-dump "GOMP_loop_static_worksharing" "parloops2" } }
*/
--
2.53.0