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]
Other format: [Raw text]

[Bug preprocessor/37324] [4.4 Regression] FAIL: gcc.dg/utf-array.c (test for errors)



------- Comment #1 from jakub at gcc dot gnu dot org  2008-09-15 12:15 -------
The problem is that in C we don't have char16_t, char32_t nor wchar_t builtin
types, so they aren't necessarily distinct.  With -fshort-wchar wchar_t is
always unsigned short int and char16_t is also unsigned short int, so the
testcase can rely on it, but for utf-array.c we don't have such a guarantee.
The options are either to remove some lines from the C utf-array.c testcase
(without -fshort-wchar on some targets like hppa-hpux wchar_t is the same type
as char32_t, and on other targets it is the same as char16_t).  Or add two new
target-supports.exp functions and use them in this case.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37324


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