testsuite/c-c++-common/cpp/pragma-eof.c: Add missing require fopenmp

Message ID alpine.BSF.2.20.16.2007172329210.68146@arjuna.pair.com
State New
Headers show
Series
  • testsuite/c-c++-common/cpp/pragma-eof.c: Add missing require fopenmp
Related show

Commit Message

Hans-Peter Nilsson July 18, 2020, 3:29 a.m.
Committed as obvious.  Gets rid of a spurious failure for mmix.

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

Patch

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 } */