Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 5.5.0/gentoo/
Date: Sat, 01 Aug 2020 08:45:51
Message-Id: 1596271527.10274189de219a51faaa6e59a3805f1b18804fe4.slyfox@gentoo
1 commit: 10274189de219a51faaa6e59a3805f1b18804fe4
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 1 08:45:27 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 08:45:27 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=10274189
7
8 5.5.0: tweak to build against gcc-11
9
10 One new patch:
11 + 104_all_gcc-c++17.patch: avoid use of '++' on 'bool'.
12
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 5.5.0/gentoo/40_all_gcc-c++17.patch | 12 ++++++++++++
16 5.5.0/gentoo/README.history | 3 +++
17 2 files changed, 15 insertions(+)
18
19 diff --git a/5.5.0/gentoo/40_all_gcc-c++17.patch b/5.5.0/gentoo/40_all_gcc-c++17.patch
20 new file mode 100644
21 index 0000000..d940d4c
22 --- /dev/null
23 +++ b/5.5.0/gentoo/40_all_gcc-c++17.patch
24 @@ -0,0 +1,12 @@
25 +Fix compatibility with c++17
26 +--- a/gcc/reload.h
27 ++++ b/gcc/reload.h
28 +@@ -168,7 +168,7 @@ struct target_reload {
29 + value indicates the level of indirect addressing supported, e.g., two
30 + means that (MEM (MEM (REG n))) is also valid if (REG n) does not get
31 + a hard register. */
32 +- bool x_spill_indirect_levels;
33 ++ unsigned char x_spill_indirect_levels;
34 +
35 + /* True if caller-save has been reinitialized. */
36 + bool x_caller_save_initialized_p;
37
38 diff --git a/5.5.0/gentoo/README.history b/5.5.0/gentoo/README.history
39 index 421682a..57f94a8 100644
40 --- a/5.5.0/gentoo/README.history
41 +++ b/5.5.0/gentoo/README.history
42 @@ -1,3 +1,6 @@
43 +4 TODO
44 + + 40_all_gcc-c++17.patch
45 +
46 3 29 May 2020
47 + 38_all_libcpp-ar.patch
48 + 39_all_whitespace-pa.patch