Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gcc7 for openSUSE:Factory checked in at 2024-02-06 16:35:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc7 (Old) and /work/SRC/openSUSE:Factory/.gcc7.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc7" Tue Feb 6 16:35:11 2024 rev:41 rq:1144321 version:7.5.0+r278197 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc7/gcc7.changes 2023-09-14 16:25:48.206877483 +0200 +++ /work/SRC/openSUSE:Factory/.gcc7.new.1815/gcc7.changes 2024-02-06 16:36:04.382357402 +0100 @@ -1,0 +2,17 @@ +Mon Feb 5 14:24:16 UTC 2024 - Richard Biener <rguent...@suse.com> + +- Use %{_target_cpu} to determine host and build. + +------------------------------------------------------------------- +Thu Jan 18 09:58:44 UTC 2024 - Richard Biener <rguent...@suse.com> + +- Add gcc7-pr87723.patch to avoid ICE when hitting a broken pattern + in the s390 backend. + +------------------------------------------------------------------- +Mon Oct 30 12:59:18 UTC 2023 - Richard Biener <rguent...@suse.com> + +- Add gcc7-bsc1216488.patch to avoid creating recursive DIE references + through DW_AT_abstract_origin when using LTO. [bsc#1216488] + +------------------------------------------------------------------- New: ---- gcc7-bsc1216488.patch gcc7-pr87723.patch BETA DEBUG BEGIN: New: - Add gcc7-bsc1216488.patch to avoid creating recursive DIE references through DW_AT_abstract_origin when using LTO. [bsc#1216488] New: - Add gcc7-pr87723.patch to avoid ICE when hitting a broken pattern in the s390 backend. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc7.spec ++++++ --- /var/tmp/diff_new_pack.hEcVpI/_old 2024-02-06 16:36:06.810445240 +0100 +++ /var/tmp/diff_new_pack.hEcVpI/_new 2024-02-06 16:36:06.810445240 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -153,6 +153,8 @@ Patch43: gcc7-aarch64-bsc1214052.patch Patch44: gcc7-aarch64-untyped_call.patch Patch45: gcc7-lra-elim.patch +Patch46: gcc7-bsc1216488.patch +Patch47: gcc7-pr87723.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -203,7 +205,7 @@ %define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac) %endif -%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") +%define HOST_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") %ifarch ppc %define GCCDIST powerpc64-suse-linux %else @@ -351,6 +353,8 @@ %patch43 -p1 %patch44 -p1 %patch45 -p1 +%patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 cross-arm-gcc7.spec: same change cross-arm-none-gcc7-bootstrap.spec: same change cross-arm-none-gcc7.spec: same change cross-avr-gcc7-bootstrap.spec: same change cross-avr-gcc7.spec: same change cross-epiphany-gcc7-bootstrap.spec: same change cross-epiphany-gcc7.spec: same change cross-hppa-gcc7.spec: same change cross-i386-gcc7.spec: same change cross-m68k-gcc7.spec: same change cross-mips-gcc7.spec: same change cross-nvptx-gcc7.spec: same change cross-ppc64-gcc7.spec: same change cross-ppc64le-gcc7.spec: same change cross-rx-gcc7-bootstrap.spec: same change cross-rx-gcc7.spec: same change cross-s390x-gcc7.spec: same change cross-sparc-gcc7.spec: same change cross-sparc64-gcc7.spec: same change cross-x86_64-gcc7.spec: same change ++++++ gcc7-testresults.spec ++++++ --- /var/tmp/diff_new_pack.hEcVpI/_old 2024-02-06 16:36:07.414467092 +0100 +++ /var/tmp/diff_new_pack.hEcVpI/_new 2024-02-06 16:36:07.414467092 +0100 @@ -1,7 +1,7 @@ # # spec file for package gcc7-testresults # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -354,6 +354,8 @@ Patch43: gcc7-aarch64-bsc1214052.patch Patch44: gcc7-aarch64-untyped_call.patch Patch45: gcc7-lra-elim.patch +Patch46: gcc7-bsc1216488.patch +Patch47: gcc7-pr87723.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -414,7 +416,7 @@ %define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac) %endif -%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") +%define HOST_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") %ifarch ppc %define GCCDIST powerpc64-suse-linux %else @@ -537,6 +539,8 @@ %patch43 -p1 %patch44 -p1 %patch45 -p1 +%patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 ++++++ gcc7.spec ++++++ --- /var/tmp/diff_new_pack.hEcVpI/_old 2024-02-06 16:36:07.442468104 +0100 +++ /var/tmp/diff_new_pack.hEcVpI/_new 2024-02-06 16:36:07.446468250 +0100 @@ -1,7 +1,7 @@ # # spec file for package gcc7 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -333,6 +333,8 @@ Patch43: gcc7-aarch64-bsc1214052.patch Patch44: gcc7-aarch64-untyped_call.patch Patch45: gcc7-lra-elim.patch +Patch46: gcc7-bsc1216488.patch +Patch47: gcc7-pr87723.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1751,7 +1753,7 @@ %define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac) %endif -%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") +%define HOST_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") %ifarch ppc %define GCCDIST powerpc64-suse-linux %else @@ -1874,6 +1876,8 @@ %patch43 -p1 %patch44 -p1 %patch45 -p1 +%patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.hEcVpI/_old 2024-02-06 16:36:07.566472591 +0100 +++ /var/tmp/diff_new_pack.hEcVpI/_new 2024-02-06 16:36:07.570472735 +0100 @@ -340,6 +340,8 @@ Patch43: gcc7-aarch64-bsc1214052.patch Patch44: gcc7-aarch64-untyped_call.patch Patch45: gcc7-lra-elim.patch +Patch46: gcc7-bsc1216488.patch +Patch47: gcc7-pr87723.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1019,7 +1021,7 @@ %define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac) %endif -%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") +%define HOST_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") %ifarch ppc %define GCCDIST powerpc64-suse-linux %else @@ -1148,6 +1150,8 @@ %patch43 -p1 %patch44 -p1 %patch45 -p1 +%patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 ++++++ gcc7-bsc1216488.patch ++++++ diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 5590845d2a4..07185a1a0d3 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -23030,7 +23031,7 @@ gen_label_die (tree decl, dw_die_ref context_die) lbl_die = new_die (DW_TAG_label, context_die, decl); equate_decl_number_to_die (decl, lbl_die); - if (origin != NULL) + if (origin != NULL && origin != decl) add_abstract_origin_attribute (lbl_die, origin); else add_name_and_src_coords_attributes (lbl_die, decl); ++++++ gcc7-pr87723.patch ++++++ >From 8c21b0d164f33d9d47acc26f4f9b99b53e3b1945 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel <kreb...@linux.ibm.com> Date: Tue, 6 Nov 2018 10:22:05 +0000 Subject: [PATCH] S/390: Fix PR87723 To: gcc-patc...@gcc.gnu.org gcc/ChangeLog: 2018-11-06 Andreas Krebbel <kreb...@linux.ibm.com> PR target/87723 * config/s390/s390.md ("*r<noxa>sbg_di_rotl"): Remove mode attributes for operands 3 and 4. gcc/testsuite/ChangeLog: 2018-11-06 Andreas Krebbel <kreb...@linux.ibm.com> PR target/87723 * gcc.target/s390/pr87723.c: New test. From-SVN: r265832 --- gcc/ChangeLog | 6 +++++ gcc/config/s390/s390.md | 2 +- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/s390/pr87723.c | 29 +++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/gcc.target/s390/pr87723.c diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 8e7b285e1c3..4ffd438c07c 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -4230,7 +4230,7 @@ (match_operand:DI 4 "nonimmediate_operand" "0"))) (clobber (reg:CC CC_REGNUM))] "TARGET_Z10" - "r<noxa>sbg\t%0,%1,%<bfstart>2,%<bfend>2,%b3" + "r<noxa>sbg\t%0,%1,%s2,%e2,%b3" [(set_attr "op_type" "RIE")]) ; rosbg, rxsbg diff --git a/gcc/testsuite/gcc.target/s390/pr87723.c b/gcc/testsuite/gcc.target/s390/pr87723.c new file mode 100644 index 00000000000..b0e8a5a3118 --- /dev/null +++ b/gcc/testsuite/gcc.target/s390/pr87723.c @@ -0,0 +1,29 @@ +/* { dg-do compile } */ +/* { dg-options "-O3 -march=z196 -m64 -mzarch" } */ + +unsigned long a; +int b; +void c(char* i) { + for (;;) { + char g = 0; + for (; g < 24; ++g) + b = a << g | a >> 64 - g; + { + char *d = i; + long h = b; + char e = 0; + for (; e < 8; ++e) + d[e] = h; + } + char *d = i; + signed e; + unsigned long f = 0; + e = 7; + for (; e; --e) { + f <<= 8; + f |= d[e]; + } + for (; e < 8; ++e) + d[e] = f; + } +} -- 2.35.3