This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/36155] New: UTF tests doesn't work on Linux
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2008 14:40:30 -0000
- Subject: [Bug testsuite/36155] New: UTF tests doesn't work on Linux
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This patch
http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00275.html
breaks UTF tests on Linux. Does check_effective_target_4byte_wchar_t
really work? I got
bash-3.2$ cat w.c
#if 0
#include <wchar.h>
#endif
int
main ()
{
int dummy[sizeof (wchar_t) >= 4 ? 1 : -1];
return 0;
}
bash-3.2$ gcc -c w.c
w.c: In function 'main':
w.c:8: error: 'wchar_t' undeclared (first use in this function)
w.c:8: error: (Each undeclared identifier is reported only once
w.c:8: error: for each function it appears in.)
bash-3.2$
Is <wchar.h> included for your test?
--
Summary: UTF tests doesn't work on Linux
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36155