aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorAndy Hutchinson <hutchinsonandy@gcc.gnu.org>2009-11-23 22:40:18 +0000
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>2009-11-23 22:40:18 +0000
commit3d0cc4ae1a09b01606dc4971487199356bfb4384 (patch)
tree7cc3405278eda9bc845b45c841e6db560d586975 /gcc/testsuite/gcc.dg
parentcefdbe2fe99d5b05ed416214b9e229f31f86223b (diff)
downloadgcc-3d0cc4ae1a09b01606dc4971487199356bfb4384.zip
gcc-3d0cc4ae1a09b01606dc4971487199356bfb4384.tar.gz
gcc-3d0cc4ae1a09b01606dc4971487199356bfb4384.tar.bz2
raw-string-1.c: Require-effective-target wchar.
* gcc-dg/raw-string-1.c: Require-effective-target wchar. * gcc-dg/raw-string-2.c: Ditto. * gcc-dg/utf-array-short-wchar.c: Ditto. * gcc-dg/utf-array.c: Ditto. * gcc-dg/utf8-2.c: Ditto. From-SVN: r154476
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/raw-string-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/raw-string-2.c1
-rw-r--r--gcc/testsuite/gcc.dg/utf-array-short-wchar.c2
-rw-r--r--gcc/testsuite/gcc.dg/utf-array.c2
-rw-r--r--gcc/testsuite/gcc.dg/utf8-2.c2
5 files changed, 5 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/raw-string-1.c b/gcc/testsuite/gcc.dg/raw-string-1.c
index 679e9a6..f556b3f 100644
--- a/gcc/testsuite/gcc.dg/raw-string-1.c
+++ b/gcc/testsuite/gcc.dg/raw-string-1.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-skip-if "No wchar.h" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-require-effective-target wchar } */
/* { dg-options "-std=gnu99" } */
#include <wchar.h>
diff --git a/gcc/testsuite/gcc.dg/raw-string-2.c b/gcc/testsuite/gcc.dg/raw-string-2.c
index 533abe2..4517a03 100644
--- a/gcc/testsuite/gcc.dg/raw-string-2.c
+++ b/gcc/testsuite/gcc.dg/raw-string-2.c
@@ -1,4 +1,5 @@
/* { dg-do run } */
+/* { dg-require-effective-target wchar } */
/* { dg-options "-std=gnu99" } */
#include <wchar.h>
diff --git a/gcc/testsuite/gcc.dg/utf-array-short-wchar.c b/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
index 91f4827..ec47812 100644
--- a/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
+++ b/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
@@ -1,7 +1,7 @@
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
/* Expected errors for char16_t/char32_t string literals. */
/* { dg-do compile } */
-/* { dg-skip-if "No wchar.h" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-require-effective-target wchar } */
/* { dg-options "-std=gnu99 -fshort-wchar" } */
#include <wchar.h>
diff --git a/gcc/testsuite/gcc.dg/utf-array.c b/gcc/testsuite/gcc.dg/utf-array.c
index b25c2af..433ddcf 100644
--- a/gcc/testsuite/gcc.dg/utf-array.c
+++ b/gcc/testsuite/gcc.dg/utf-array.c
@@ -1,7 +1,7 @@
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
/* Expected errors for char16_t/char32_t string literals. */
/* { dg-do compile } */
-/* { dg-skip-if "No wchar.h" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-require-effective-target wchar } */
/* { dg-options "-std=gnu99" } */
#include <wchar.h>
diff --git a/gcc/testsuite/gcc.dg/utf8-2.c b/gcc/testsuite/gcc.dg/utf8-2.c
index 173d797..f3b83fe 100644
--- a/gcc/testsuite/gcc.dg/utf8-2.c
+++ b/gcc/testsuite/gcc.dg/utf8-2.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-skip-if "No wchar.h" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-require-effective-target wchar } */
/* { dg-options "-std=gnu99" } */
#include <wchar.h>