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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1820A1581F0 for ; Wed, 11 Dec 2024 00:58:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D35CE0827; Wed, 11 Dec 2024 00:58:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4810DE0827 for ; Wed, 11 Dec 2024 00:58:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88568335CB4 for ; Wed, 11 Dec 2024 00:58:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23C9FEE7 for ; Wed, 11 Dec 2024 00:58:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1733878693.51abf0facc39318f1b2e9f952ab7842ba422d401.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 15.0.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 15.0.0/gentoo/77_all_PR117980-ICE-cxx_eval_outermost_constant_expr.patch X-VCS-Directories: 15.0.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 51abf0facc39318f1b2e9f952ab7842ba422d401 X-VCS-Branch: master Date: Wed, 11 Dec 2024 00:58:26 +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: 1b0373cd-3b79-41ce-8fd5-906f34b545d1 X-Archives-Hash: 4d102c5e1bb8aff12d28759b68211fb9 commit: 51abf0facc39318f1b2e9f952ab7842ba422d401 Author: Sam James gentoo org> AuthorDate: Wed Dec 11 00:58:13 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 11 00:58:13 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=51abf0fa 15.0.0: add 77_all_PR117980-ICE-cxx_eval_outermost_constant_expr.patch Bug: https://gcc.gnu.org/PR117980 Signed-off-by: Sam James gentoo.org> ..._all_PR117980-ICE-cxx_eval_outermost_constant_expr.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/15.0.0/gentoo/77_all_PR117980-ICE-cxx_eval_outermost_constant_expr.patch b/15.0.0/gentoo/77_all_PR117980-ICE-cxx_eval_outermost_constant_expr.patch new file mode 100644 index 0000000..ba2fa9a --- /dev/null +++ b/15.0.0/gentoo/77_all_PR117980-ICE-cxx_eval_outermost_constant_expr.patch @@ -0,0 +1,13 @@ +diff --git a/gcc/cp/cp-gimplify.cc b/gcc/cp/cp-gimplify.cc +index 623e2ee6e964..a861331c7c7d 100644 +--- a/gcc/cp/cp-gimplify.cc ++++ b/gcc/cp/cp-gimplify.cc +@@ -1477,7 +1477,7 @@ cp_fold_r (tree *stmt_p, int *walk_subtrees, void *data_) + *walk_subtrees = 0; + if (!flag_no_inline) + { +- tree folded = maybe_constant_init (init, TARGET_EXPR_SLOT (stmt)); ++ tree folded = maybe_constant_init (init); + if (folded != init && TREE_CONSTANT (folded)) + init = folded; + }