mirror of git://gcc.gnu.org/git/gcc.git
re PR c/36470 (sizeof UTF-32 is 2 on AVR)
PR testsuite/36470 * gcc.dg/utf-cvt.c: Skip int test for 16bit int targets. Enable short test for avr target. * gcc.dg/utf32-1.c: Enable test for avr and m32 targets. * gcc.dg/utf32-2.c: Ditto. * gcc.dg/utf32-3.c: Ditto. * gcc.dg/utf32-4.c: Enable test for non-32bit targets. From-SVN: r154471
This commit is contained in:
parent
c806393f02
commit
0422d54667
|
@ -1,3 +1,13 @@
|
||||||
|
2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR testsuite/36470
|
||||||
|
* gcc.dg/utf-cvt.c: Skip int test for 16bit int targets.
|
||||||
|
Enable short test for avr target.
|
||||||
|
* gcc.dg/utf32-1.c: Enable test for avr and m32 targets.
|
||||||
|
* gcc.dg/utf32-2.c: Ditto.
|
||||||
|
* gcc.dg/utf32-3.c: Ditto.
|
||||||
|
* gcc.dg/utf32-4.c: Enable test for non-32bit targets.
|
||||||
|
|
||||||
2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
|
2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
|
||||||
|
|
||||||
* gcc.dg/tree-ssa/asmgoto-1.c: Suppress warnings.
|
* gcc.dg/tree-ssa/asmgoto-1.c: Suppress warnings.
|
||||||
|
|
|
@ -44,11 +44,11 @@ void m (char16_t c0, char32_t c1)
|
||||||
f_c (c1); /* { dg-warning "alter its value" } */
|
f_c (c1); /* { dg-warning "alter its value" } */
|
||||||
fsc (c1); /* { dg-warning "alter its value" } */
|
fsc (c1); /* { dg-warning "alter its value" } */
|
||||||
fuc (c1); /* { dg-warning "alter its value" } */
|
fuc (c1); /* { dg-warning "alter its value" } */
|
||||||
f_s (c1); /* { dg-warning "alter its value" "" { target { ! "avr-*-*" } } } */
|
f_s (c1); /* { dg-warning "alter its value" } */
|
||||||
fss (c1); /* { dg-warning "alter its value" "" { target { ! "avr-*-*" } } } */
|
fss (c1); /* { dg-warning "alter its value" } */
|
||||||
fus (c1); /* { dg-warning "alter its value" "" { target { ! "avr-*-*" } } } */
|
fus (c1); /* { dg-warning "alter its value" } */
|
||||||
f_i (c1); /* { dg-warning "change the sign" } */
|
f_i (c1); /* { dg-warning "change the sign" "" { target { ! int16 } } } */
|
||||||
fsi (c1); /* { dg-warning "change the sign" } */
|
fsi (c1); /* { dg-warning "change the sign" "" { target { ! int16 } } } */
|
||||||
fui (c1);
|
fui (c1);
|
||||||
f_l (c1); /* { dg-warning "change the sign" "" { target { llp64 || ilp32 } } } */
|
f_l (c1); /* { dg-warning "change the sign" "" { target { llp64 || ilp32 } } } */
|
||||||
fsl (c1); /* { dg-warning "change the sign" "" { target { llp64 || ilp32 } } } */
|
fsl (c1); /* { dg-warning "change the sign" "" { target { llp64 || ilp32 } } } */
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
||||||
/* Test the support for char32_t character constants. */
|
/* Test the support for char32_t character constants. */
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
/* { dg-xfail-run-if "PR36470" { "avr-*-*" "m32c-*-*" } { "*" } { "" } } */
|
|
||||||
/* { dg-options "-std=gnu99 -Wall -Werror" } */
|
/* { dg-options "-std=gnu99 -Wall -Werror" } */
|
||||||
|
|
||||||
typedef __CHAR32_TYPE__ char32_t;
|
typedef __CHAR32_TYPE__ char32_t;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
||||||
/* Test the support for char32_t* string constants. */
|
/* Test the support for char32_t* string constants. */
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
/* { dg-xfail-run-if "PR36470" { "avr-*-*" "m32c-*-*" } { "*" } { "" } } */
|
|
||||||
/* { dg-options "-std=gnu99 -Wall -Werror" } */
|
/* { dg-options "-std=gnu99 -Wall -Werror" } */
|
||||||
|
|
||||||
typedef __CHAR32_TYPE__ char32_t;
|
typedef __CHAR32_TYPE__ char32_t;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
||||||
/* Test concatenation of char32_t* string literals. */
|
/* Test concatenation of char32_t* string literals. */
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
/* { dg-xfail-run-if "PR36470" { "avr-*-*" "m32c-*-*" } { "*" } { "" } } */
|
|
||||||
/* { dg-options "-std=gnu99 -Wall -Werror" } */
|
/* { dg-options "-std=gnu99 -Wall -Werror" } */
|
||||||
|
|
||||||
typedef __CHAR32_TYPE__ char32_t;
|
typedef __CHAR32_TYPE__ char32_t;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
|
||||||
/* Expected errors for char32_t character constants. */
|
/* Expected errors for char32_t character constants. */
|
||||||
/* { dg-do compile { target int32plus } } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-std=gnu99" } */
|
/* { dg-options "-std=gnu99" } */
|
||||||
|
|
||||||
typedef __CHAR32_TYPE__ char32_t;
|
typedef __CHAR32_TYPE__ char32_t;
|
||||||
|
|
Loading…
Reference in New Issue