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: 10.2.0/gentoo/
Date: Tue, 29 Dec 2020 09:55:26
Message-Id: 1609235512.7adab39a82fd07085f600603bdc5c440aa1c142a.slyfox@gentoo
1 commit: 7adab39a82fd07085f600603bdc5c440aa1c142a
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 09:51:52 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 09:51:52 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7adab39a
7
8 10.2.0: revert PR95820 backporting
9
10 The backport breaks parsing as seen in https://gcc.gnu.org/PR98441
11
12 Bug: https://gcc.gnu.org/PR95820
13 Bug: https://bugs.gentoo.org/730406
14 Reported-by: Daniel Santos
15 Bug: https://gcc.gnu.org/PR98441
16 Bug: https://bugs.gentoo.org/762382
17 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
18
19 10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch | 25 -------------------------
20 10.2.0/gentoo/README.history | 3 +++
21 2 files changed, 3 insertions(+), 25 deletions(-)
22
23 diff --git a/10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch b/10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch
24 deleted file mode 100644
25 index e365420..0000000
26 --- a/10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch
27 +++ /dev/null
28 @@ -1,25 +0,0 @@
29 -It's an unofficial backport of PR95820 where gcc ICEs on
30 -invalid syntax. As creduce frequently end up in these ICEs
31 -as in #730406 let's backport it to gcc-10.
32 -
33 -https://gcc.gnu.org/PR95820
34 -https://bugs.gentoo.org/730406
35 ---- a/gcc/cp/decl.c
36 -+++ b/gcc/cp/decl.c
37 -@@ -12029,14 +12029,11 @@ grokdeclarator (const cp_declarator *declarator,
38 -
39 - /* Handle a late-specified return type. */
40 - tree late_return_type = declarator->u.function.late_return_type;
41 -- if (funcdecl_p
42 -- /* This is the case e.g. for
43 -- using T = auto () -> int. */
44 -- || inner_declarator == NULL)
45 -+ if (true)
46 - {
47 - if (tree auto_node = type_uses_auto (type))
48 - {
49 -- if (!late_return_type)
50 -+ if (!late_return_type && funcdecl_p)
51 - {
52 - if (current_class_type
53 - && LAMBDA_TYPE_P (current_class_type))
54
55 diff --git a/10.2.0/gentoo/README.history b/10.2.0/gentoo/README.history
56 index 639805d..81678b5 100644
57 --- a/10.2.0/gentoo/README.history
58 +++ b/10.2.0/gentoo/README.history
59 @@ -1,3 +1,6 @@
60 +6 TODO
61 + - 34_all_fundecl-ICE-PR95820.patch
62 +
63 5 18 Dec 2020
64 + 41_all_strlen-PR96758.patch