[PATCH] Revision 3: Handle string constant initializers for arrays of char16_t or char32_t
Ian Lance Taylor
iant@google.com
Fri Jul 18 15:43:00 GMT 2008
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> 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.
The C++ changes are OK.
Please have a libstdc++ maintainer sign off on the change to
libstdc++-v3/config/abi/pre/gnu.ver. (libstdc++ maintainers: this is
in regard to http://gcc.gnu.org/ml/gcc-patches/2008-07/msg01175.html )
Thanks.
Ian
More information about the Gcc-patches
mailing list