This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
mips/mips.h bug with WCHAR_TYPE?
- To: gcc-bugs at gcc dot gnu dot org
- Subject: mips/mips.h bug with WCHAR_TYPE?
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 27 Feb 2001 22:19:50 +0000
- Cc: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
I think I've found what causes David's testsuite failures for wide
characters. In mips/iris.h we have
#define WCHAR_TYPE "long int"
#define WCHAR_TYPE_SIZE LONG_TYPE_SIZE
For -mabi=64, this is an 8-byte wide char! Surely you jest.
I supect these should be
#define WCHAR_TYPE "int"
#define WCHAR_TYPE_SIZE INT_TYPE_SIZE
Would someone with more knowledge of MIPS please confirm or deny?
Does this fix the bug for you David?
Thanks,
Neil.