diff options
author | kvanhees <kvanhees@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-18 20:23:42 +0000 |
---|---|---|
committer | kvanhees <kvanhees@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-18 20:23:42 +0000 |
commit | b07266162965ee636750c7e9925c1c2df7930932 (patch) | |
tree | b27287a01b43f1b1f386e9e0c08cce428dc4e5ce /gcc/c-common.c | |
parent | 8dddf7e2cb3925fd5b3c3c4683294f7394f6f037 (diff) | |
download | gcc-b07266162965ee636750c7e9925c1c2df7930932.tar.gz |
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/cp/ChangeLog:
2008-07-16 Kris Van Hees <kris.van.hees@oracle.com>
* rtti.c (emit_support_tinfos): Add char16_type_node and
char32_type_node.
* typeck2.c (digest_init): Support char16_t and char32_t.
gcc/testsuite/ChangeLog:
2008-07-16 Kris Van Hees <kris.van.hees@oracle.com>
Tests for char16_t and char32_t support.
* g++.dg/ext/utf-array.C: New
* g++.dg/ext/utf-array-short-wchar.C: New
* g++.dg/ext/utf-rtti.C: New
* g++.dg/ext/utf-type.c: New
* 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
libstdc++-v3/ChangeLog:
2008-07-16 Kris Van Hees <kris.van.hees@oracle.com>
Holger Hopp <holger.hopp@sap.com>
* config/abi/pre/gnu.ver: Support char16_t and char32_t.
* testsuite/util/testsuite_abi.cc (check_version): Add
CXXABI_1.3.3 to known_versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137965 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index e93d2fba6df..cc13e056fd5 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -4895,6 +4895,8 @@ c_stddef_cpp_builtins(void) builtin_define_with_value ("__WINT_TYPE__", WINT_TYPE, 0); builtin_define_with_value ("__INTMAX_TYPE__", INTMAX_TYPE, 0); builtin_define_with_value ("__UINTMAX_TYPE__", UINTMAX_TYPE, 0); + builtin_define_with_value ("__CHAR16_TYPE__", CHAR16_TYPE, 0); + builtin_define_with_value ("__CHAR32_TYPE__", CHAR32_TYPE, 0); } static void |