aboutsummaryrefslogtreecommitdiff
path: root/4.6.4
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-11-09 23:47:27 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-11-09 23:51:18 +0000
commit804174e0b59cba153e1b232bfdaba1016dd1615c (patch)
tree65a10ed875b615ae9e9f0281b97fa60625c3b3c9 /4.6.4
parent4.5.4: expand 102_all_cgraph_node-gcc-9.patch to allow gcc-9 (diff)
downloadgcc-patches-804174e0b59cba153e1b232bfdaba1016dd1615c.tar.gz
gcc-patches-804174e0b59cba153e1b232bfdaba1016dd1615c.tar.bz2
gcc-patches-804174e0b59cba153e1b232bfdaba1016dd1615c.zip
4.6.4: expand 97_all_cgraph_node-gcc-9.patch to allow gcc-9
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '4.6.4')
-rw-r--r--4.6.4/gentoo/97_all_cgraph_node-gcc-9.patch2
-rw-r--r--4.6.4/gentoo/README.history3
2 files changed, 4 insertions, 1 deletions
diff --git a/4.6.4/gentoo/97_all_cgraph_node-gcc-9.patch b/4.6.4/gentoo/97_all_cgraph_node-gcc-9.patch
index 77c9a1d..e6334bc 100644
--- a/4.6.4/gentoo/97_all_cgraph_node-gcc-9.patch
+++ b/4.6.4/gentoo/97_all_cgraph_node-gcc-9.patch
@@ -16,7 +16,7 @@ gcc-4.6.4/gcc/pretty-print.h:322:6: error: 'cgraph_node' is not defined as a typ
/* This header may be included before diagnostics-core.h, hence the duplicate
definitions to allow for GCC-specific formats. */
-#if GCC_VERSION >= 3005
-+#if (GCC_VERSION >= 3005) && (GCC_VERSION != 9001) /* 9.1.0 is buggy: https://gcc.gnu.org/PR90677 */
++#if (GCC_VERSION >= 3005) && (__GNUC__ != 9) /* gcc-9 is buggy: https://gcc.gnu.org/PR90677 */
#define ATTRIBUTE_GCC_PPDIAG(m, n) __attribute__ ((__format__ (__gcc_diag__, m ,n))) ATTRIBUTE_NONNULL(m)
#else
#define ATTRIBUTE_GCC_PPDIAG(m, n) ATTRIBUTE_NONNULL(m)
diff --git a/4.6.4/gentoo/README.history b/4.6.4/gentoo/README.history
index 5ea9032..1d39625 100644
--- a/4.6.4/gentoo/README.history
+++ b/4.6.4/gentoo/README.history
@@ -1,3 +1,6 @@
+2 9 Nov 2019
+ U 97_all_cgraph_node-gcc-9.patch
+
1.5 1 Jun 2019
+ 95_all_libjava-ucontext.patch
+ 96_all_gcc-gperf-gnu-inline.patch