public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* testsuite/c-c++-common/cpp/pragma-eof.c: Add missing require fopenmp
@ 2020-07-18  3:29 Hans-Peter Nilsson
  0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2020-07-18  3:29 UTC (permalink / raw)
  To: gcc-patches

Committed as obvious.  Gets rid of a spurious failure for mmix.

gcc/testsuite:
	* c-c++-common/cpp/pragma-eof.c: Require fopenmp.

diff --git a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c
index c72be80..9537470 100644
--- a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c
+++ b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c
@@ -1,3 +1,4 @@
+/* { dg-require-effective-target fopenmp } */
 /* { dg-additional-options -fopenmp }  */

 /* { dg-error "expected" "" { target *-*-* } 6 } */

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

only message in thread, other threads:[~2020-07-18  3:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18  3:29 testsuite/c-c++-common/cpp/pragma-eof.c: Add missing require fopenmp Hans-Peter Nilsson

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).