commit: dd1d98b2d98f4b5b4015cd31fe41311ee9eb9549 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Fri Jul 24 08:59:48 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Fri Jul 24 08:59:48 2020 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=dd1d98b2
4.9.4: tweak to build against gcc-11 One new patch: + 104_all_gcc-c++17.patch: avoid use of '++' on 'bool'. Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> 4.9.4/gentoo/104_all_gcc-c++17.patch | 12 ++++++++++++ 4.9.4/gentoo/README.history | 3 +++ 2 files changed, 15 insertions(+) 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; diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history index 12ffe1f..34868a4 100644 --- a/4.9.4/gentoo/README.history +++ b/4.9.4/gentoo/README.history @@ -1,3 +1,6 @@ +3 TODO + + 104_all_gcc-c++17.patch + 2 29 May 2020 + 102_all_ustat-sparc.patch + 103_all_whitespace-pa.patch