On 06/29/2012 11:10 AM, H.J. Lu wrote:
>> 2012-05-31  H.J. Lu  <hongjiu...@intel.com>
>>
>>        PR target/53539
>>        * config/i386/gnu-user64.h (WCHAR_TYPE): Use "int" only for
>>        TARGET_LP64.
>>
>> diff --git a/gcc/config/i386/gnu-user64.h b/gcc/config/i386/gnu-user64.h
>> index 0e66d26..2941332 100644
>> --- a/gcc/config/i386/gnu-user64.h
>> +++ b/gcc/config/i386/gnu-user64.h
>> @@ -91,3 +91,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  
>> If n
>> ot, see
>>  #define TARGET_THREAD_SPLIT_STACK_OFFSET \
>>   (TARGET_64BIT ? (TARGET_X32 ? 0x40 : 0x70) : 0x30)
>>  #endif
>> +
>> +#undef WCHAR_TYPE
>> +#define WCHAR_TYPE (TARGET_LP64 ? "int" : "long int")
> 
> Hi Richard,
> 
> Is this patch OK for trunk?
> 
> Thanks.

Yes, this is fine.


r~

Reply via email to