summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert999@netscape.net>2017-01-17 22:21:42 -0600
committerDouglas Gilbert <dgilbert999@netscape.net>2017-01-17 22:21:42 -0600
commit76cc2c4a3fef7df2e7cdd7c2b2d02e1a08b0aefe (patch)
tree622d26cba566c656a848cd71caead49354003a44
parent72beec1539befc791ffe217f1084ee9eab7df4e5 (diff)
downloadppe42-gcc-76cc2c4a3fef7df2e7cdd7c2b2d02e1a08b0aefe.tar.gz
ppe42-gcc-76cc2c4a3fef7df2e7cdd7c2b2d02e1a08b0aefe.zip
Fix compile issue when compiling with gcc 6
-rw-r--r--gcc/config/rs6000/option-defaults.h4
-rw-r--r--gcc/cp/cfns.gperf2
-rw-r--r--gcc/cp/cfns.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/rs6000/option-defaults.h b/gcc/config/rs6000/option-defaults.h
index dc4cce0d6ce..043dbcc91e6 100644
--- a/gcc/config/rs6000/option-defaults.h
+++ b/gcc/config/rs6000/option-defaults.h
@@ -39,11 +39,11 @@
#endif
#if TARGET_DEFAULT & OPTION_MASK_64BIT
-#define OPT_ARCH64 "!"OPT_32
+#define OPT_ARCH64 "!" OPT_32
#define OPT_ARCH32 OPT_32
#else
#define OPT_ARCH64 OPT_64
-#define OPT_ARCH32 "!"OPT_64
+#define OPT_ARCH32 "!" OPT_64
#endif
/* Support for a compile-time default CPU, et cetera. The rules are:
diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf
index 05ca753927e..3a85aaa936f 100644
--- a/gcc/cp/cfns.gperf
+++ b/gcc/cp/cfns.gperf
@@ -21,7 +21,7 @@ __inline
#endif
static unsigned int hash (const char *, unsigned int);
#ifdef __GNUC__
-__inline
+//__inline
#endif
const char * libc_name_p (const char *, unsigned int);
%}
diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
index c845ddf08ea..dca250ef555 100644
--- a/gcc/cp/cfns.h
+++ b/gcc/cp/cfns.h
@@ -52,7 +52,7 @@ __inline
#endif
static unsigned int hash (const char *, unsigned int);
#ifdef __GNUC__
-__inline
+//__inline
#endif
const char * libc_name_p (const char *, unsigned int);
/* maximum key range = 391, duplicates = 0 */
OpenPOWER on IntegriCloud