mips/mips.h bug with WCHAR_TYPE?

Neil Booth neil@daikokuya.demon.co.uk
Tue Feb 27 14:19:00 GMT 2001


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.



More information about the Gcc-bugs mailing list