From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1EE9C13835B for ; Tue, 29 Dec 2020 09:55:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 688F8E0B63; Tue, 29 Dec 2020 09:55:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5136DE0ACB for ; Tue, 29 Dec 2020 09:55:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69BC033BE25 for ; Tue, 29 Dec 2020 09:55:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B7F347F for ; Tue, 29 Dec 2020 09:55:23 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1609235512.7adab39a82fd07085f600603bdc5c440aa1c142a.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 10.2.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch 10.2.0/gentoo/README.history X-VCS-Directories: 10.2.0/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 7adab39a82fd07085f600603bdc5c440aa1c142a X-VCS-Branch: master Date: Tue, 29 Dec 2020 09:55:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 859138f1-c4cd-47ce-98c1-47d2076b6684 X-Archives-Hash: d2e5ecaca69ebb046289efb94559402b commit: 7adab39a82fd07085f600603bdc5c440aa1c142a Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Dec 29 09:51:52 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Dec 29 09:51:52 2020 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=7adab39a 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 gentoo.org> 10.2.0/gentoo/34_all_fundecl-ICE-PR95820.patch | 25 ------------------------- 10.2.0/gentoo/README.history | 3 +++ 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