diff --git a/cross-aarch64-gcc7.spec b/cross-aarch64-gcc7.spec index d2181f8..b26e033 100644 --- a/cross-aarch64-gcc7.spec +++ b/cross-aarch64-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-arm-gcc7.spec b/cross-arm-gcc7.spec index a4c6ba0..cbfab09 100644 --- a/cross-arm-gcc7.spec +++ b/cross-arm-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-arm-none-gcc7-bootstrap.spec b/cross-arm-none-gcc7-bootstrap.spec index bfa1190..d58052e 100644 --- a/cross-arm-none-gcc7-bootstrap.spec +++ b/cross-arm-none-gcc7-bootstrap.spec @@ -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 @@ -155,6 +155,7 @@ 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 @@ -354,6 +355,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-arm-none-gcc7.spec b/cross-arm-none-gcc7.spec index a495419..3051e91 100644 --- a/cross-arm-none-gcc7.spec +++ b/cross-arm-none-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-avr-gcc7-bootstrap.spec b/cross-avr-gcc7-bootstrap.spec index fa01712..03b2c76 100644 --- a/cross-avr-gcc7-bootstrap.spec +++ b/cross-avr-gcc7-bootstrap.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-avr-gcc7.spec b/cross-avr-gcc7.spec index fc5d6c1..da2fc30 100644 --- a/cross-avr-gcc7.spec +++ b/cross-avr-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-epiphany-gcc7-bootstrap.spec b/cross-epiphany-gcc7-bootstrap.spec index 342799d..c5b3ade 100644 --- a/cross-epiphany-gcc7-bootstrap.spec +++ b/cross-epiphany-gcc7-bootstrap.spec @@ -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 @@ -155,6 +155,7 @@ 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 @@ -354,6 +355,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-epiphany-gcc7.spec b/cross-epiphany-gcc7.spec index 6916a18..96132aa 100644 --- a/cross-epiphany-gcc7.spec +++ b/cross-epiphany-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-hppa-gcc7.spec b/cross-hppa-gcc7.spec index 4746329..433ae69 100644 --- a/cross-hppa-gcc7.spec +++ b/cross-hppa-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-i386-gcc7.spec b/cross-i386-gcc7.spec index 4895e81..9b76be7 100644 --- a/cross-i386-gcc7.spec +++ b/cross-i386-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-m68k-gcc7.spec b/cross-m68k-gcc7.spec index 66d0ab9..ff15511 100644 --- a/cross-m68k-gcc7.spec +++ b/cross-m68k-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-mips-gcc7.spec b/cross-mips-gcc7.spec index b990691..14b4fb5 100644 --- a/cross-mips-gcc7.spec +++ b/cross-mips-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-nvptx-gcc7.spec b/cross-nvptx-gcc7.spec index ca086d1..a1d8740 100644 --- a/cross-nvptx-gcc7.spec +++ b/cross-nvptx-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-ppc64-gcc7.spec b/cross-ppc64-gcc7.spec index f1e583e..3499580 100644 --- a/cross-ppc64-gcc7.spec +++ b/cross-ppc64-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-ppc64le-gcc7.spec b/cross-ppc64le-gcc7.spec index 219f7a0..a88a697 100644 --- a/cross-ppc64le-gcc7.spec +++ b/cross-ppc64le-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-rx-gcc7-bootstrap.spec b/cross-rx-gcc7-bootstrap.spec index 8abf30b..298fc4d 100644 --- a/cross-rx-gcc7-bootstrap.spec +++ b/cross-rx-gcc7-bootstrap.spec @@ -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 @@ -155,6 +155,7 @@ 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 @@ -354,6 +355,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-rx-gcc7.spec b/cross-rx-gcc7.spec index 4ba588b..7ce79d8 100644 --- a/cross-rx-gcc7.spec +++ b/cross-rx-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-s390x-gcc7.spec b/cross-s390x-gcc7.spec index e6af694..a314eca 100644 --- a/cross-s390x-gcc7.spec +++ b/cross-s390x-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-sparc-gcc7.spec b/cross-sparc-gcc7.spec index db0ee7f..8b0a135 100644 --- a/cross-sparc-gcc7.spec +++ b/cross-sparc-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-sparc64-gcc7.spec b/cross-sparc64-gcc7.spec index 0b7f02c..670cdba 100644 --- a/cross-sparc64-gcc7.spec +++ b/cross-sparc64-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/cross-x86_64-gcc7.spec b/cross-x86_64-gcc7.spec index 4fc3d9e..48bb13d 100644 --- a/cross-x86_64-gcc7.spec +++ b/cross-x86_64-gcc7.spec @@ -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 @@ -154,6 +154,7 @@ 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 @@ -353,6 +354,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/gcc.spec.in b/gcc.spec.in index 3a78e8a..fe8d084 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -341,6 +341,7 @@ 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 @@ -1150,6 +1151,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/gcc7-pr87723.patch b/gcc7-pr87723.patch new file mode 100644 index 0000000..f32babf --- /dev/null +++ b/gcc7-pr87723.patch @@ -0,0 +1,81 @@ +From 8c21b0d164f33d9d47acc26f4f9b99b53e3b1945 Mon Sep 17 00:00:00 2001 +From: Andreas Krebbel +Date: Tue, 6 Nov 2018 10:22:05 +0000 +Subject: [PATCH] S/390: Fix PR87723 +To: gcc-patches@gcc.gnu.org + +gcc/ChangeLog: + +2018-11-06 Andreas Krebbel + + PR target/87723 + * config/s390/s390.md ("*rsbg_di_rotl"): Remove mode + attributes for operands 3 and 4. + +gcc/testsuite/ChangeLog: + +2018-11-06 Andreas Krebbel + + 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" +- "rsbg\t%0,%1,%2,%2,%b3" ++ "rsbg\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 + diff --git a/gcc7-testresults.spec b/gcc7-testresults.spec index 2cc3ec6..7958ecf 100644 --- a/gcc7-testresults.spec +++ b/gcc7-testresults.spec @@ -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 @@ -355,6 +355,7 @@ 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 @@ -539,6 +540,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61 diff --git a/gcc7.changes b/gcc7.changes index 1ade14b..1720daa 100644 --- a/gcc7.changes +++ b/gcc7.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 18 09:58:44 UTC 2024 - Richard Biener + +- 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 diff --git a/gcc7.spec b/gcc7.spec index 57994dd..194e65f 100644 --- a/gcc7.spec +++ b/gcc7.spec @@ -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 @@ -334,6 +334,7 @@ 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 @@ -1876,6 +1877,7 @@ ln -s nvptx-newlib/newlib . %patch44 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 %patch51 %patch60 %patch61