This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Revision 3: Handle string constant initializers for arrays of char16_t or char32_t
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Kris Van Hees <kris dot van dot hees at oracle dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Holger Hopp <holger dot hopp at sap dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Jul 2008 11:21:13 +0000 (UTC)
- Subject: Re: [PATCH] Revision 3: Handle string constant initializers for arrays of char16_t or char32_t
- References: <20080415223754.GB3887@oracle.com> <480536BB.70308@redhat.com> <20080418021710.GA27409@oracle.com> <87skxjjoe5.fsf@sap.com> <20080418170758.GK2255@devserv.devel.redhat.com> <20080421110001.GB6577@oracle.com> <Pine.LNX.4.64.0804211209280.4213@digraph.polyomino.org.uk> <20080421235942.GF6577@oracle.com> <Pine.LNX.4.64.0806111616040.2430@digraph.polyomino.org.uk> <20080715154432.GG5625@oracle.com> <20080715233016.GH5625@oracle.com>
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