Re: [PATCH] Fix gcc.dg/utf-array.c testcase

2019-01-21 Thread Jeff Law
On 1/21/19 9:00 AM, Tamar Christina wrote: > Forwarding to list. > >> -Original Message- >> From: Tamar Christina >> Sent: Monday, January 21, 2019 15:25 >> To: 'Jakub Jelinek' ; Jason Merrill >> Cc: gcc-patches@gcc.gnu.org >> Subject:

RE: [PATCH] Fix gcc.dg/utf-array.c testcase

2019-01-21 Thread Tamar Christina
Forwarding to list. > -Original Message- > From: Tamar Christina > Sent: Monday, January 21, 2019 15:25 > To: 'Jakub Jelinek' ; Jason Merrill > Cc: gcc-patches@gcc.gnu.org > Subject: RE: [PATCH] Fix gcc.dg/utf-array.c testcase > > Hi, > > The

[PATCH] Fix gcc.dg/utf-array.c testcase

2019-01-18 Thread Jakub Jelinek
Hi! The utf-array.c testcase FAILs e.g. on i686-linux or powerpc-linux, the problem is that wchar_t there isn't int, but long int. grep shows that WCHAR_TYPE is one of int short int long int unsigned int short unsigned int long unsigned int depending on exact target and options. The following pat