commit: 641f7c504ff4f220e1772e636b50703be7fd0645 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Thu Apr 27 14:11:23 2023 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Thu Apr 27 14:11:23 2023 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=641f7c50
gcc-plugins: Reorganize gimple includes for GCC 13 Bug: https://bugs.gentoo.org/905140 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 0000_README | 4 ++++ ..._gcc-plugins-reorg-gimple-incl-for-GCC-13.patch | 26 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/0000_README b/0000_README index a9e84fc1..c2deeac3 100644 --- a/0000_README +++ b/0000_README @@ -783,6 +783,10 @@ Patch: 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch From: https://lore.kernel.org/all/[email protected]/ Desc: gcc-plugins: drop -std=gnu++11 to fix GCC 13 build +Patch: 2950_gcc-plugins-reorg-gimple-incl-for-GCC-13.patch +From: https://git.kernel.org +Desc: gcc-plugins: Reorganize gimple includes for GCC 13 + Patch: 3000_Support-printing-firmware-info.patch From: https://bugs.gentoo.org/732852 Desc: Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO). Thanks to Georgy Yakovlev diff --git a/2950_gcc-plugins-reorg-gimple-incl-for-GCC-13.patch b/2950_gcc-plugins-reorg-gimple-incl-for-GCC-13.patch new file mode 100644 index 00000000..3c94f239 --- /dev/null +++ b/2950_gcc-plugins-reorg-gimple-incl-for-GCC-13.patch @@ -0,0 +1,26 @@ +--- a/scripts/gcc-plugins/gcc-common.h 2023-04-27 09:30:13.021916723 -0400 ++++ b/scripts/gcc-plugins/gcc-common.h 2023-04-27 09:31:15.088866298 -0400 +@@ -108,7 +108,9 @@ + #include "varasm.h" + #include "stor-layout.h" + #include "internal-fn.h" ++#include "gimple.h" + #include "gimple-expr.h" ++#include "gimple-iterator.h" + #include "gimple-fold.h" + #include "context.h" + #include "tree-ssa-alias.h" +@@ -124,13 +126,10 @@ + #include "gimplify.h" + #endif + +-#include "gimple.h" +- + #if BUILDING_GCC_VERSION >= 4009 + #include "tree-ssa-operands.h" + #include "tree-phinodes.h" + #include "tree-cfg.h" +-#include "gimple-iterator.h" + #include "gimple-ssa.h" + #include "ssa-iterators.h" + #endif
