]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "Set num_threads to 50 on 32-bit hppa in two libgomp loop tests"
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 6 Mar 2024 17:01:59 +0000 (17:01 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 6 Mar 2024 17:01:59 +0000 (17:01 +0000)
This reverts commit b14209715e659f6d3ca0f9eef9a4851e7bd6e373.

libgomp/testsuite/libgomp.c++/loop-3.C
libgomp/testsuite/libgomp.c/omp-loop03.c

index 3f460f114bf04a1452cbdd98b3ccb1f3197b25f4..fa50f099f3ff4330532799f74659face4ba44ffe 100644 (file)
@@ -1,9 +1,3 @@
-#if defined(__hppa__) && !defined(__LP64__)
-#define NUM_THREADS 50
-#else
-#define NUM_THREADS 64
-#endif
-
 extern "C" void abort (void);
 int a;
 
@@ -25,7 +19,7 @@ foo ()
 int
 main (void)
 {
-#pragma omp parallel num_threads (NUM_THREADS)
+#pragma omp parallel num_threads (64)
   foo ();
 
   return 0;
index 9879981cf4a293f5764d57685e1002524ae807f7..7bb9a194331efc18f354dbb638e393978c0e1a24 100644 (file)
@@ -1,9 +1,3 @@
-#if defined(__hppa__) && !defined(__LP64__)
-#define NUM_THREADS 50
-#else
-#define NUM_THREADS 64
-#endif
-
 extern void abort (void);
 int a;
 
@@ -25,7 +19,7 @@ foo ()
 int
 main (void)
 {
-#pragma omp parallel num_threads (NUM_THREADS)
+#pragma omp parallel num_threads (64)
   foo ();
 
   return 0;