|
From: | Dragiša Durić |
Subject: | Re: [Gm2] gm2 on gcc-5.2.0 |
Date: | Sun, 25 Dec 2016 09:17:00 +0100 |
Hi Gaius, After getting your tarball and restarting combine-trees..configure..make I still see same situation and same errors as result. 4.7.4, and In file included from ../../gcc-versionno/gcc/cp/except.c:990:0: cfns.gperf: At top level: cfns.gperf:101:1: error: ‘gnu_inline’ attribute present on ‘libc_name_p’ cfns.gperf:26:14: error: but not here Question: Did your patches address this gnu_inline issue, ie is it expected to see this fixed? I think this patch is supposed to fix it: diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf index 68acd3d..953262f 100644 --- a/gcc/cp/cfns.gperf +++ b/gcc/cp/cfns.gperf @@ -22,6 +22,9 @@ __inline static unsigned int hash (const char *, unsigned int); #ifdef __GNUC__ __inline +#ifdef __GNUC_STDC_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif #endif const char * libc_name_p (const char *, unsigned int); %} diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h index 1c6665d..6d00c0e 100644 --- a/gcc/cp/cfns.h +++ b/gcc/cp/cfns.h @@ -53,6 +53,9 @@ __inline static unsigned int hash (const char *, unsigned int); #ifdef __GNUC__ __inline +#ifdef __GNUC_STDC_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif #endif const char * libc_name_p (const char *, unsigned int); /* maximum key range = 391, duplicates = 0 */ I will try this again later, with this patch included. Regards, Dragiša
|
[Prev in Thread] | Current Thread | [Next in Thread] |