From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1664592-garchives=archives.gentoo.org@lists.gentoo.org> 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 813241581FB for <garchives@archives.gentoo.org>; Mon, 26 Aug 2024 13:44:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDE60E2A80; Mon, 26 Aug 2024 13:44:23 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1515E2A80 for <gentoo-commits@lists.gentoo.org>; Mon, 26 Aug 2024 13:44:23 +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 B35F433BF3B for <gentoo-commits@lists.gentoo.org>; Mon, 26 Aug 2024 13:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EAAB1EC4 for <gentoo-commits@lists.gentoo.org>; Mon, 26 Aug 2024 13:44:21 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1724679838.24f7b8a07ce29ac39d8d3245a1ba7f7abf3dcfa1.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/32_all_PR116470-debug-bootstrap.patch 15.0.0/gentoo/33_all_PR116348-vect.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: 24f7b8a07ce29ac39d8d3245a1ba7f7abf3dcfa1 X-VCS-Branch: master Date: Mon, 26 Aug 2024 13:44:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ceca94a8-cd43-4ea3-a30d-e9f13c975cf0 X-Archives-Hash: 7871e7c15340662b90356d5ec499d6a5 commit: 24f7b8a07ce29ac39d8d3245a1ba7f7abf3dcfa1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Aug 26 13:43:58 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Aug 26 13:43:58 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=24f7b8a0 15.0.0: drop now-upstream patches Signed-off-by: Sam James <sam <AT> gentoo.org> .../gentoo/32_all_PR116470-debug-bootstrap.patch | 78 ---------------------- 15.0.0/gentoo/33_all_PR116348-vect.patch | 78 ---------------------- 15.0.0/gentoo/README.history | 5 ++ 3 files changed, 5 insertions(+), 156 deletions(-) diff --git a/15.0.0/gentoo/32_all_PR116470-debug-bootstrap.patch b/15.0.0/gentoo/32_all_PR116470-debug-bootstrap.patch deleted file mode 100644 index 613cf4c..0000000 --- a/15.0.0/gentoo/32_all_PR116470-debug-bootstrap.patch +++ /dev/null @@ -1,78 +0,0 @@ -https://gcc.gnu.org/PR116470 -https://inbox.sourceware.org/gcc-patches/AS1PR01MB946587924CF9EFA4950ECBAFE48B2@AS1PR01MB9465.eurprd01.prod.exchangelabs.com/ - -From 9c7050effd98d868d59fbd5ec7eeff1160eb05b8 Mon Sep 17 00:00:00 2001 -Message-ID: <9c7050effd98d868d59fbd5ec7eeff1160eb05b8.1724653254.git.sam@gentoo.org> -From: Bernd Edlinger <bernd.edlinger@hotmail.de> -Date: Mon, 26 Aug 2024 05:46:16 +0200 -Subject: [PATCH] Fix bootstap-errors due to enabling -gvariable-location-views - -This recent change triggered various bootsteap-errors, mostly on -x86 targets because line info advance address entries were output -in the wrong section table. -The switch to the wrong line table happened in dwarfout_set_ignored_loc. -It must use the same section as the earlier called -dwarf2out_switch_text_section. - -But also ft32-elf was affected, because the assembler choked on -something simple as ".2byte .LM2-.LM1", but fortunately it is -able to use native location views, the configure test was just -not executed because the ft32 "nop" instruction was missing. - -gcc/ChangeLog: - -PR debug/116470 - * configure.ac: Add the "nop" instruction for cpu type ft32. - * configure: Regenerate. - * dwarf2out.cc (dwarf2out_set_ignored_loc): Use the correct - line info section. ---- - gcc/configure | 2 +- - gcc/configure.ac | 2 +- - gcc/dwarf2out.cc | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/gcc/configure b/gcc/configure -index 557ea5fa3ac9..3d301b6ecd3d 100755 ---- a/gcc/configure -+++ b/gcc/configure -@@ -31398,7 +31398,7 @@ esac - case "$cpu_type" in - aarch64 | alpha | arc | arm | avr | bfin | cris | csky | i386 | loongarch | m32c \ - | m68k | microblaze | mips | nds32 | nios2 | pa | riscv | rs6000 | score | sparc \ -- | visium | xstormy16 | xtensa) -+ | visium | xstormy16 | xtensa | ft32) - insn="nop" - ;; - ia64 | s390) -diff --git a/gcc/configure.ac b/gcc/configure.ac -index eaa01d0d7e56..8a2d2b0438e7 100644 ---- a/gcc/configure.ac -+++ b/gcc/configure.ac -@@ -5610,7 +5610,7 @@ esac - case "$cpu_type" in - aarch64 | alpha | arc | arm | avr | bfin | cris | csky | i386 | loongarch | m32c \ - | m68k | microblaze | mips | nds32 | nios2 | pa | riscv | rs6000 | score | sparc \ -- | visium | xstormy16 | xtensa) -+ | visium | xstormy16 | xtensa | ft32) - insn="nop" - ;; - ia64 | s390) -diff --git a/gcc/dwarf2out.cc b/gcc/dwarf2out.cc -index 633900b035fe..3f040da33a63 100644 ---- a/gcc/dwarf2out.cc -+++ b/gcc/dwarf2out.cc -@@ -28939,7 +28939,7 @@ dwarf2out_set_ignored_loc (unsigned int line, unsigned int column, - dw_fde_ref fde = cfun->fde; - - fde->ignored_debug = false; -- set_cur_line_info_table (function_section (fde->decl)); -+ set_cur_line_info_table (current_function_section ()); - - dwarf2out_source_line (line, column, filename, 0, true); - } - -base-commit: b4ac2c23d8745d98984954e88f02aa73f1c3594b --- -2.46.0 - diff --git a/15.0.0/gentoo/33_all_PR116348-vect.patch b/15.0.0/gentoo/33_all_PR116348-vect.patch deleted file mode 100644 index 623ce34..0000000 --- a/15.0.0/gentoo/33_all_PR116348-vect.patch +++ /dev/null @@ -1,78 +0,0 @@ -https://gcc.gnu.org/PR116348 -https://inbox.sourceware.org/gcc-patches/20240825185348.37025-1-xry111@xry111.site/T/#u - -From cc68092ef1bb1134f6d8ddf0281323658a4358ae Mon Sep 17 00:00:00 2001 -Message-ID: <cc68092ef1bb1134f6d8ddf0281323658a4358ae.1724653336.git.sam@gentoo.org> -From: Xi Ruoyao <xry111@xry111.site> -Date: Mon, 26 Aug 2024 02:53:13 +0800 -Subject: [PATCH] vect: Fix STMT_VINFO_DEF_TYPE check for odd/even widen mult - [PR116348] - -After fixing PR116142 some code started to trigger an ICE with -O3 --march=znver4. Per Richard Biener who actually made this fix: - -"supportable_widening_operation fails at transform time - that's likely -because vectorizable_reduction "puns" defs to internal_def" - -so the check should use STMT_VINFO_REDUC_DEF instead of checking if -STMT_VINFO_DEF_TYPE is vect_reduction_def. - -gcc/ChangeLog: - - PR tree-optimization/PR116348 - * tree-vect-stmts.cc (supportable_widening_operation): Use - STMT_VINFO_REDUC_DEF (x) instead of - STMT_VINFO_DEF_TYPE (x) == vect_reduction_def. - -gcc/testsuite/ChangeLog: - - PR tree-optimization/PR116348 - * gcc.c-torture/compile/pr116438.c: New test. - -Co-authored-by: Richard Biener <rguenther@suse.de> ---- - gcc/testsuite/gcc.c-torture/compile/pr116438.c | 14 ++++++++++++++ - gcc/tree-vect-stmts.cc | 3 +-- - 2 files changed, 15 insertions(+), 2 deletions(-) - create mode 100644 gcc/testsuite/gcc.c-torture/compile/pr116438.c - -diff --git a/gcc/testsuite/gcc.c-torture/compile/pr116438.c b/gcc/testsuite/gcc.c-torture/compile/pr116438.c -new file mode 100644 -index 000000000000..97ab0181ab8b ---- /dev/null -+++ b/gcc/testsuite/gcc.c-torture/compile/pr116438.c -@@ -0,0 +1,14 @@ -+/* { dg-additional-options "-march=znver4" { target x86_64-*-* i?86-*-* } } */ -+ -+int *a; -+int b; -+long long c, d; -+void -+e (int f) -+{ -+ for (; f; f++) -+ { -+ d += (long long)a[f] * b; -+ c += (long long)a[f] * 3; -+ } -+} -diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc -index 385e63163c24..9eb73a599339 100644 ---- a/gcc/tree-vect-stmts.cc -+++ b/gcc/tree-vect-stmts.cc -@@ -14193,8 +14193,7 @@ supportable_widening_operation (vec_info *vinfo, - by STMT is only directly used in the reduction statement. */ - tree lhs = gimple_assign_lhs (vect_orig_stmt (stmt_info)->stmt); - stmt_vec_info use_stmt_info = loop_info->lookup_single_use (lhs); -- if (use_stmt_info -- && STMT_VINFO_DEF_TYPE (use_stmt_info) == vect_reduction_def) -+ if (use_stmt_info && STMT_VINFO_REDUC_DEF (use_stmt_info)) - return true; - } - c1 = VEC_WIDEN_MULT_LO_EXPR; - -base-commit: b4ac2c23d8745d98984954e88f02aa73f1c3594b -prerequisite-patch-id: 743f4e4444f9cac24e67abce2bda52d6a421d870 --- -2.46.0 - diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index 728080e..e1c375e 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,3 +1,8 @@ +12 ???? + + - 32_all_PR116470-debug-bootstrap.patch + - 33_all_PR116348-vect.patch + 11 26 August 2024 - 32_all_phi-opt-Fix-for-non-const-functions-for-factor_out_c.patch