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
This commit is contained in:
Andy Hutchinson 2009-11-23 22:40:18 +00:00
parent cefdbe2fe9
commit 3d0cc4ae1a
6 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* 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.
2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* gcc.dg/torture/pr37868.c: Use smaller bitfield for 16bit int

View File

@ -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>

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* { dg-require-effective-target wchar } */
/* { dg-options "-std=gnu99" } */
#include <wchar.h>

View File

@ -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>

View File

@ -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>

View File

@ -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>