aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2011-07-05 18:03:04 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2011-07-05 18:03:04 +0000
commit3c428fb33318e82ec37beef8f68f5c1456ab68a8 (patch)
treeed6d5581568178c76f7cd5d50282b52d70533838
parent3aa439ed17d7339192493926fd7e2562dd2bdf32 (diff)
downloadgcc-3c428fb33318e82ec37beef8f68f5c1456ab68a8.zip
gcc-3c428fb33318e82ec37beef8f68f5c1456ab68a8.tar.gz
gcc-3c428fb33318e82ec37beef8f68f5c1456ab68a8.tar.bz2
* gcc.dg/cpp/pragma-3.c: Add dg-require-effective-target fopenmp.
From-SVN: r175879
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/cpp/pragma-3.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7ce7bf8..778ff50 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-05 Georg-Johann Lay <avr@gjlay.de>
+
+ * gcc.dg/cpp/pragma-3.c: Add dg-require-effective-target fopenmp.
+
2011-07-05 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/ppc-switch-1.c: New test for
diff --git a/gcc/testsuite/gcc.dg/cpp/pragma-3.c b/gcc/testsuite/gcc.dg/cpp/pragma-3.c
index 9afc391..53daee7 100644
--- a/gcc/testsuite/gcc.dg/cpp/pragma-3.c
+++ b/gcc/testsuite/gcc.dg/cpp/pragma-3.c
@@ -1,6 +1,7 @@
/*
{ dg-options "-fopenmp" }
{ dg-do preprocess }
+ { dg-require-effective-target fopenmp }
*/
void foo (void)