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 (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 637531581C1 for ; Sun, 14 Jul 2024 23:36:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7073EE29E9; Sun, 14 Jul 2024 23:36:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EDD4E29E9 for ; Sun, 14 Jul 2024 23:36:58 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25DA9335CAF for ; Sun, 14 Jul 2024 23:36:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AE191869 for ; Sun, 14 Jul 2024 23:36:55 +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: <1721000147.f3f27691478a0b256a3b52348bae96f5a6b5f089.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/78_all_gcc_don-t-enable-fext-dce-with-O2-for-now.patch 15.0.0/gentoo/README.history X-VCS-Directories: 15.0.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f3f27691478a0b256a3b52348bae96f5a6b5f089 X-VCS-Branch: master Date: Sun, 14 Jul 2024 23:36:55 +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: 3b16bae8-b40c-4c93-ac8a-56c5b67f7192 X-Archives-Hash: 2aa281ca34c031f0d3d4e3903ce417ac commit: f3f27691478a0b256a3b52348bae96f5a6b5f089 Author: Sam James gentoo org> AuthorDate: Sun Jul 14 23:35:47 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 14 23:35:47 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f3f27691 15.0.0: don't enable -fext-dce with -O2 Bug: https://gcc.gnu.org/PR115876 Bug: https://gcc.gnu.org/PR115877 Bug: https://gcc.gnu.org/PR115912 Bug: https://gcc.gnu.org/PR115916 Bug: https://gcc.gnu.org/PR115927 Signed-off-by: Sam James gentoo.org> ...gcc_don-t-enable-fext-dce-with-O2-for-now.patch | 34 ++++++++++++++++++++++ 15.0.0/gentoo/README.history | 4 +++ 2 files changed, 38 insertions(+) diff --git a/15.0.0/gentoo/78_all_gcc_don-t-enable-fext-dce-with-O2-for-now.patch b/15.0.0/gentoo/78_all_gcc_don-t-enable-fext-dce-with-O2-for-now.patch new file mode 100644 index 0000000..82c5535 --- /dev/null +++ b/15.0.0/gentoo/78_all_gcc_don-t-enable-fext-dce-with-O2-for-now.patch @@ -0,0 +1,34 @@ +From 86de2fd7550f75a318aa9819b115487cd850b4fc Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Mon, 15 Jul 2024 00:32:18 +0100 +Subject: [PATCH] gcc: don't enable -fext-dce with -O2 for now + +There's too many bugs involving it for now. + + gcc/ + * opts.cc (default_options_table): Don't enable ext-dce at -O2 + +Bug: https://gcc.gnu.org/PR115876 +Bug: https://gcc.gnu.org/PR115877 +Bug: https://gcc.gnu.org/PR115912 +Bug: https://gcc.gnu.org/PR115916 +Bug: https://gcc.gnu.org/PR115927 +--- + gcc/opts.cc | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/gcc/opts.cc b/gcc/opts.cc +index be90a632338f..e1a1bdf15822 100644 +--- a/gcc/opts.cc ++++ b/gcc/opts.cc +@@ -634,7 +634,6 @@ static const struct default_options default_options_table[] = + { OPT_LEVELS_2_PLUS, OPT_fdevirtualize, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_fdevirtualize_speculatively, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_fexpensive_optimizations, NULL, 1 }, +- { OPT_LEVELS_2_PLUS, OPT_fext_dce, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_fgcse, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_fhoist_adjacent_loads, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_findirect_inlining, NULL, 1 }, +-- +2.45.2 + diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index efe48af..eddda8f 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,3 +1,7 @@ +5 15 July 2024 + + + 78_all_gcc_don-t-enable-fext-dce-with-O2-for-now.patch + 4 16 June 2024 - 77_all_PR115387.patch