commit: 499dc858cc4152f30ac4e2e6aa43a38afd6c5548
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 21:30:32 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 21:30:32 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=499dc858
3.4.6: backport gperf inlining fix
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/93_all_gperf-inline.patch | 22 ++++++++++++++++++++++
3.4.6/gentoo/README.history | 3 +++
2 files changed, 25 insertions(+)
diff --git a/3.4.6/gentoo/93_all_gperf-inline.patch
b/3.4.6/gentoo/93_all_gperf-inline.patch
new file mode 100644
index 0000000..c8ed142
--- /dev/null
+++ b/3.4.6/gentoo/93_all_gperf-inline.patch
@@ -0,0 +1,22 @@
+--- a/gcc/java/keyword.gperf
++++ b/gcc/java/keyword.gperf
+@@ -34,7 +34,7 @@ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
+ __inline
+ #endif
+-const struct java_keyword *java_keyword (const char *, unsigned int);
++static const struct java_keyword *java_keyword (const char *, unsigned int);
+ %%
+ abstract, ABSTRACT_TK
+ default, DEFAULT_TK
+--- a/gcc/java/keyword.h
++++ b/gcc/java/keyword.h
+@@ -34,7 +34,7 @@ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
+ __inline
+ #endif
+-const struct java_keyword *java_keyword (const char *, unsigned int);
++static const struct java_keyword *java_keyword (const char *, unsigned int);
+
+ #define TOTAL_KEYWORDS 52
+ #define MIN_WORD_LENGTH 2
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index 549063a..d7969e2 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,3 +1,6 @@
+2 TODO
+ + 93_all_gperf-inline.patch
+
1.9 1 Jun 2019
- 00_all_gcc-trampolinewarn.patch
+ 91_all_ucontext-to-ucontext_t.patch