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.

Thanks,
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