This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Revision 3: Handle string constant initializers for arrays of char16_t or char32_t


On Tue, 15 Jul 2008, Kris Van Hees wrote:

> gcc/ChangeLog:
> 2008-07-16  Kris Van Hees <kris.van.hees@oracle.com>
> 	  
> 	* c-common.c (c_stddef_cpp_builtins): Define __CHAR16_TYPE__
> 	and __CHAR32_TYPE__.
> 	* c-typeck.c (digest_init): Support char16_t and char32_t.
> 	(set_nonincremental_init_from_string): Idem.

> gcc/testsuite/ChangeLog:
> 2008-07-16  Kris Van Hees <kris.van.hees@oracle.com>
> 
> 	Tests for char16_t and char32_t support.

> 	* gcc.dg/utf-array.c: New
> 	* gcc.dg/utf-array-short-wchar.c: New
> 	* gcc.dg/utf-inc-init.c: New
> 	* gcc.dg/utf-type.c: New

These C changes and testcases are OK.  I can't approve the C++ changes.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]