On 06.12.15 23:54, Andreas Tobler wrote:
Hi,

I'm going to commit this patch to trunk, 5.4 and 4.9 branch if there are
no objections.

The redefinition of WCHAR_TYPE for PowerPC64 is wrong since its
beginning. My fault.

We use the definition from freebsd.h.


Committed to trunk. But I left the #undef WCHAR_TYPE. I deleted to fast..

For the diff see:

https://gcc.gnu.org/ml/gcc-cvs/2015-12/msg00379.html

I'll apply the same fix later to gcc-5 and gcc-4.9 tree.

Andreas

2015-12-06  Andreas Tobler  <andre...@gcc.gnu.org>

        * config/rs6000/freebsd64.h: Remove the redefinition of WCHAR_TYPE.

Index: freebsd64.h
===================================================================
--- freebsd64.h (revision 231129)
+++ freebsd64.h (working copy)
@@ -316,8 +316,6 @@
   #define PTRDIFF_TYPE (TARGET_64BIT ? "long int" : "int")

   /* rs6000.h gets this wrong for FreeBSD.  We use the GCC defaults
instead.  */
-#undef WCHAR_TYPE
-#define        WCHAR_TYPE      (TARGET_64BIT ? "int" : "long int")
   #undef  WCHAR_TYPE_SIZE
   #define WCHAR_TYPE_SIZE 32


Reply via email to