On Nov 17, 2015, at 8:50 AM, David Edelsohn wrote:
>
> Thanks for the pointer. How about the following?
Ok.
sizeof (*wfoo) or sizeof (wchar_t) or some such might be even more portable.
>
> Thanks, David
>
>
> Index: pr58708.C
> ==
On Tue, Nov 17, 2015 at 11:22 AM, Jonathan Wakely wrote:
> On 17 November 2015 at 16:04, David Edelsohn wrote:
>> The testcase in the GCC testsuite assumes that wchar_t is 32 bits,
>> which is not correct on AIX. 32 bit AIX maintains 16 bit wchar_t for
>> backward compatibility (64 bit AIX uses 3
On 17 November 2015 at 16:04, David Edelsohn wrote:
> The testcase in the GCC testsuite assumes that wchar_t is 32 bits,
> which is not correct on AIX. 32 bit AIX maintains 16 bit wchar_t for
> backward compatibility (64 bit AIX uses 32 bit wchar_t).
>
> What is the preferred method to make the te
The testcase in the GCC testsuite assumes that wchar_t is 32 bits,
which is not correct on AIX. 32 bit AIX maintains 16 bit wchar_t for
backward compatibility (64 bit AIX uses 32 bit wchar_t).
What is the preferred method to make the testcase safe for smaller wchar_t?
The following patch works f