aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-02-05 11:59:20 +0000
committerNick Clifton <nickc@gcc.gnu.org>2009-02-05 11:59:20 +0000
commit5b21d7b23080cbc1972e160dff2c1f72750380a9 (patch)
tree4e44d254b5dcfbbb9ebe8f4b876de8cd503fa847 /gcc/testsuite/gcc.dg/utf-array-short-wchar.c
parentbf9b2cc9250862b15f7520c70d689def2cec77c6 (diff)
downloadgcc-5b21d7b23080cbc1972e160dff2c1f72750380a9.zip
gcc-5b21d7b23080cbc1972e160dff2c1f72750380a9.tar.gz
gcc-5b21d7b23080cbc1972e160dff2c1f72750380a9.tar.bz2
20080625-1.c: Skip for M32C.
* gcc.c-torture/compile/20080625-1.c: Skip for M32C. * gcc.c-torture/compile/limits-stringlit.c: Likewise. * gcc.dg/cdce1.c: Likewise. * gcc.dg/cpp/_Pragma6.c: Likewise. * g++.dg/cpp/_Pragma1.C: Likewise. * gcc.dg/utf32-2.c: Xfail for M32C. * gcc.dg/utf32-1.c: Likewise. * gcc.dg/utf32-3.c: Likewise. * gcc.dg/Wtype-limits.c: Add expected warning messages for 16-bit targets. * gcc.dg/Wtype-limits-Wextra.c: Likewise. * gcc.dg/utf32-4.c: Only run for 32-bit+ targets. * gcc.dg/Wconversion-5.c: Likewise. * gcc.dg/tree-ssa/data-dep-1.c: Likewise. * gcc.dg/tree-ssa/ldist-3.c: Likewise. * gcc.dg/tree-ssa/ldist-5.c: Likewise. * gcc.dg/utf-inc-init.c: Likewise. * gcc.dg/pr11492.c: Xfail for 16-bit targets. * gcc.dg/utf-array.c: Add expected warning messages for M32C. * gcc.dg/utf-array-short-wchar.c: Likewise. * gcc.dg/tree-ssa/pr33920.c: Expect a warning from all 16-bit targets. * gcc.dg/mallign.c: Use size_t instead of long. From-SVN: r143962
Diffstat (limited to 'gcc/testsuite/gcc.dg/utf-array-short-wchar.c')
-rw-r--r--gcc/testsuite/gcc.dg/utf-array-short-wchar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/utf-array-short-wchar.c b/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
index b630510..55d164f 100644
--- a/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
+++ b/gcc/testsuite/gcc.dg/utf-array-short-wchar.c
@@ -31,9 +31,9 @@ const char32_t s32_3[] = L"ab"; /* { dg-error "from incompatible" } */
const char32_t s32_4[0] = U"ab"; /* { dg-warning "chars is too long" } */
const char32_t s32_5[1] = U"ab"; /* { dg-warning "chars is too long" } */
-const char32_t s32_6[2] = U"ab";
-const char32_t s32_7[3] = U"ab";
-const char32_t s32_8[4] = U"ab";
+const char32_t s32_6[2] = U"ab"; /* { dg-warning "chars is too long" "" { target "m32c-*-*" } } */
+const char32_t s32_7[3] = U"ab"; /* { dg-warning "chars is too long" "" { target "m32c-*-*" } } */
+const char32_t s32_8[4] = U"ab"; /* { dg-warning "chars is too long" "" { target "m32c-*-*" } } */
const wchar_t sw_0[] = "ab"; /* { dg-error "from non-wide" } */
const wchar_t sw_1[] = u"ab";