Check-in [3c1891c96a]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added patches for GCC 5.2.0 to compile under newer versions of GCC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3c1891c96a669071fb759a7a30ac9aa1d1bcdda6
User & Date: rkeene 2017-10-31 14:37:51
Context
2017-11-02
15:24
Build-CC 0.14 check-in: 8679b6b16a user: rkeene tags: trunk, 0.14
2017-10-31
14:37
Added patches for GCC 5.2.0 to compile under newer versions of GCC check-in: 3c1891c96a user: rkeene tags: trunk
2017-09-26
15:08
Better check for ensuring we start in the correct directory check-in: a85b6aaead user: rkeene tags: trunk
Changes

Added patches/gcc/gcc-5.2.0-cfnsgperf.diff.

























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 */

Added patches/gcc/gcc-5.2.0-cfnsgperf.sh.





























>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/env sh

GCC_VERS="$1"
CCNAME="$2"

case "${GCC_VERS}" in
	5.2.*)
		;;
	*)
		exit 1
		;;
esac

exit 0