This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mips/mips.h bug with WCHAR_TYPE?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]