Module Name: src Committed By: snj Date: Sun Nov 13 06:42:07 UTC 2016
Modified Files: src/external/gpl3/gcc/dist/gcc/cp [netbsd-6-0]: cfns.gperf cfns.h Log Message: Pull up following revision(s) (requested by pgoyette in ticket #1417): external/gpl3/gcc/dist/gcc/cp/cfns.gper: patch external/gpl3/gcc/dist/gcc/cp/cfns.h: patch Fix build with gcc5. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.1.1.1.10.1 \ src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf \ src/external/gpl3/gcc/dist/gcc/cp/cfns.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf diff -u src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf:1.1.1.1 src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf:1.1.1.1.10.1 --- src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf:1.1.1.1 Tue Jun 21 01:21:46 2011 +++ src/external/gpl3/gcc/dist/gcc/cp/cfns.gperf Sun Nov 13 06:42:07 2016 @@ -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); %} Index: src/external/gpl3/gcc/dist/gcc/cp/cfns.h diff -u src/external/gpl3/gcc/dist/gcc/cp/cfns.h:1.1.1.1 src/external/gpl3/gcc/dist/gcc/cp/cfns.h:1.1.1.1.10.1 --- src/external/gpl3/gcc/dist/gcc/cp/cfns.h:1.1.1.1 Tue Jun 21 01:21:42 2011 +++ src/external/gpl3/gcc/dist/gcc/cp/cfns.h Sun Nov 13 06:42:07 2016 @@ -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 */