aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-12-29 09:51:52 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-29 09:51:52 +0000
commit7adab39a82fd07085f600603bdc5c440aa1c142a (patch)
tree7de269871674e40d92468b8405d0f667d9c2a600
parent8.4.0: cut 3 patchset (diff)
downloadgcc-patches-7adab39a82fd07085f600603bdc5c440aa1c142a.tar.gz
gcc-patches-7adab39a82fd07085f600603bdc5c440aa1c142a.tar.bz2
gcc-patches-7adab39a82fd07085f600603bdc5c440aa1c142a.zip
10.2.0: revert PR95820 backporting
The backport breaks parsing as seen in https://gcc.gnu.org/PR98441 Bug: https://gcc.gnu.org/PR95820 Bug: https://bugs.gentoo.org/730406 Reported-by: Daniel Santos Bug: https://gcc.gnu.org/PR98441 Bug: https://bugs.gentoo.org/762382 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch25
-rw-r--r--10.2.0/gentoo/README.history3
2 files changed, 3 insertions, 25 deletions
diff --git a/10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch b/10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch
deleted file mode 100644
index e365420..0000000
--- a/10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-It's an unofficial backport of PR95820 where gcc ICEs on
-invalid syntax. As creduce frequently end up in these ICEs
-as in #730406 let's backport it to gcc-10.
-
-https://gcc.gnu.org/PR95820
-https://bugs.gentoo.org/730406
---- a/gcc/cp/decl.c
-+++ b/gcc/cp/decl.c
-@@ -12029,14 +12029,11 @@ grokdeclarator (const cp_declarator *declarator,
-
- /* Handle a late-specified return type. */
- tree late_return_type = declarator->u.function.late_return_type;
-- if (funcdecl_p
-- /* This is the case e.g. for
-- using T = auto () -> int. */
-- || inner_declarator == NULL)
-+ if (true)
- {
- if (tree auto_node = type_uses_auto (type))
- {
-- if (!late_return_type)
-+ if (!late_return_type && funcdecl_p)
- {
- if (current_class_type
- && LAMBDA_TYPE_P (current_class_type))
diff --git a/10.2.0/gentoo/README.history b/10.2.0/gentoo/README.history
index 639805d..81678b5 100644
--- a/10.2.0/gentoo/README.history
+++ b/10.2.0/gentoo/README.history
@@ -1,3 +1,6 @@
+6 TODO
+ - 34_all_fundecl-ICE-PR95820.patch
+
5 18 Dec 2020
+ 41_all_strlen-PR96758.patch