public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9342] Revert "Set num_threads to 50 on 32-bit hppa in two libgomp loop tests"
@ 2024-03-06 17:02 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2024-03-06 17:02 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:49c3f24552ee550f78416b6470b22af9be8bea72

commit r14-9342-g49c3f24552ee550f78416b6470b22af9be8bea72
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Wed Mar 6 17:01:59 2024 +0000

    Revert "Set num_threads to 50 on 32-bit hppa in two libgomp loop tests"
    
    This reverts commit b14209715e659f6d3ca0f9eef9a4851e7bd6e373.

Diff:
---
 libgomp/testsuite/libgomp.c++/loop-3.C   | 8 +-------
 libgomp/testsuite/libgomp.c/omp-loop03.c | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/libgomp/testsuite/libgomp.c++/loop-3.C b/libgomp/testsuite/libgomp.c++/loop-3.C
index 3f460f114bf..fa50f099f3f 100644
--- a/libgomp/testsuite/libgomp.c++/loop-3.C
+++ b/libgomp/testsuite/libgomp.c++/loop-3.C
@@ -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;
diff --git a/libgomp/testsuite/libgomp.c/omp-loop03.c b/libgomp/testsuite/libgomp.c/omp-loop03.c
index 9879981cf4a..7bb9a194331 100644
--- a/libgomp/testsuite/libgomp.c/omp-loop03.c
+++ b/libgomp/testsuite/libgomp.c/omp-loop03.c
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-06 17:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 17:02 [gcc r14-9342] Revert "Set num_threads to 50 on 32-bit hppa in two libgomp loop tests" John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).