aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '4.9.4/gentoo/104_all_gcc-c++17.patch')
-rw-r--r--4.9.4/gentoo/104_all_gcc-c++17.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/4.9.4/gentoo/104_all_gcc-c++17.patch b/4.9.4/gentoo/104_all_gcc-c++17.patch
new file mode 100644
index 0000000..d940d4c
--- /dev/null
+++ b/4.9.4/gentoo/104_all_gcc-c++17.patch
@@ -0,0 +1,12 @@
+Fix compatibility with c++17
+--- a/gcc/reload.h
++++ b/gcc/reload.h
+@@ -168,7 +168,7 @@ struct target_reload {
+ value indicates the level of indirect addressing supported, e.g., two
+ means that (MEM (MEM (REG n))) is also valid if (REG n) does not get
+ a hard register. */
+- bool x_spill_indirect_levels;
++ unsigned char x_spill_indirect_levels;
+
+ /* True if caller-save has been reinitialized. */
+ bool x_caller_save_initialized_p;