[PATCH][ARM]Fix __ARM_SIZEOF_WCHAR_T definition.

Renlin Li renlin.li@arm.com
Tue Dec 16 16:04:00 GMT 2014


Hi all,

According to ACLE 2.0, the value of __ARM_SIZEOF_WCHAR_T should be 
defined in terms of byte, which means it should be 2 or 4. This patch 
corrects the error in arm backend.

arm-none-eabi regression test has been done, no new issues.

Okay for trunk?


Regards,
Renlin Li

gcc/ChangeLog:

2014-12-16 Renlin Li <renlin.li@arm.com>

         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Correct
         __ARM_SIZEOF_WCHAR_T macro definition.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: new.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141216/92f41488/attachment.bin>


More information about the Gcc-patches mailing list