This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36470] sizeof UTF-32 is 2 on AVR
- From: "kris dot van dot hees at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2008 13:25:39 -0000
- Subject: [Bug c/36470] sizeof UTF-32 is 2 on AVR
- References: <bug-36470-16013@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kris dot van dot hees at oracle dot com 2008-06-09 13:25 -------
It sound like AVR will need a different specification for CHAR32_TYPE given
that the default in c-common.c (unsigned int) won't work. Which would go in
the appropriate file in gcc/config/avr, similar to how WCHAR_TYPE is defined.
That still won't solve the hardcoded specification of the typedef in the test,
but that is going to be addressed "Real Soon Now" in an upcoming patch to
provide a macro (by the compiler) for the underlying types that are used for
char16_t and char32_t, which will then be used in the tests to get rid of the
hardcoded underlying type in the typedefs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36470