Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc11 for openSUSE:Factory checked 
in at 2022-03-21 20:10:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc11 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc11.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc11"

Mon Mar 21 20:10:49 2022 rev:13 rq:962391 version:11.2.1+git1406

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc11/cross-aarch64-gcc11-bootstrap.changes      
2022-03-11 11:42:22.210681900 +0100
+++ 
/work/SRC/openSUSE:Factory/.gcc11.new.25692/cross-aarch64-gcc11-bootstrap.changes
   2022-03-21 20:10:50.556368017 +0100
@@ -1,0 +2,15 @@
+Wed Mar 16 15:10:15 UTC 2022 - Richard Biener <rguent...@suse.com>
+
+- Update to gcc-11 branch head (6a1150d1524aeda3381b21717), git1406
+  * includes change to adjust gnats idea of the target, fixing
+    the build of gprbuild.  [bsc#1196861]
+- Add gcc11-pr104931.patch to fix miscompile of embedded premake
+  in 0ad on i586.  [bsc#1197065]
+
+-------------------------------------------------------------------
+Mon Mar  7 22:43:44 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- drop armv5tel, merge arm and armv6hl
+- use --with-cpu rather than specifying --with-arch/--with-tune 
+
+-------------------------------------------------------------------
cross-aarch64-gcc11.changes: same change
cross-amdgcn-gcc11.changes: same change
cross-arm-gcc11.changes: same change
cross-arm-none-gcc11-bootstrap.changes: same change
cross-arm-none-gcc11.changes: same change
cross-avr-gcc11-bootstrap.changes: same change
cross-avr-gcc11.changes: same change
cross-epiphany-gcc11-bootstrap.changes: same change
cross-epiphany-gcc11.changes: same change
cross-hppa-gcc11.changes: same change
cross-m68k-gcc11.changes: same change
cross-mips-gcc11.changes: same change
cross-nvptx-gcc11.changes: same change
cross-ppc64-gcc11.changes: same change
cross-ppc64le-gcc11.changes: same change
cross-riscv64-elf-gcc11-bootstrap.changes: same change
cross-riscv64-elf-gcc11.changes: same change
cross-riscv64-gcc11-bootstrap.changes: same change
cross-riscv64-gcc11.changes: same change
cross-rx-gcc11-bootstrap.changes: same change
cross-rx-gcc11.changes: same change
cross-s390x-gcc11.changes: same change
cross-sparc-gcc11.changes: same change
cross-sparc64-gcc11.changes: same change
cross-x86_64-gcc11.changes: same change
gcc11-testresults.changes: same change
gcc11.changes: same change

Old:
----
  gcc-11.2.1+git1173.tar.xz

New:
----
  gcc-11.2.1+git1406.tar.xz
  gcc11-pr104931.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cross-aarch64-gcc11-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.0WL65c/_old  2022-03-21 20:10:55.180372777 +0100
+++ /var/tmp/diff_new_pack.0WL65c/_new  2022-03-21 20:10:55.184372781 +0100
@@ -109,7 +109,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git1173
+Version:        11.2.1+git1406
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -135,6 +135,7 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
+Patch21:        gcc11-pr104931.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 Patch52:        gcc10-foffload-default.patch
@@ -326,6 +327,7 @@
 %patch19 -p1
 %endif
 %patch20 -p1
+%patch21 -p1
 %patch51
 %patch52 -p1
 %patch60 -p1
@@ -570,14 +572,6 @@
        --with-native-system-header-dir=/include \
 %endif
 %endif
-%if "%{TARGET_ARCH}" == "arm"
-        --with-arch=armv6zk \
-        --with-tune=arm1176jzf-s \
-       --with-float=hard \
-       --with-abi=aapcs-linux \
-       --with-fpu=vfp \
-       --disable-sjlj-exceptions \
-%endif
 %if "%{TARGET_ARCH}" == "arm-none"
        --enable-multilib \
        --with-multilib-list=aprofile,rmprofile \
@@ -590,24 +584,15 @@
        --disable-threads \
        --disable-tls \
 %endif
-%if "%{TARGET_ARCH}" == "armv5tel"
-       --with-arch=armv5te \
-       --with-float=soft \
-       --with-mode=arm \
-       --with-abi=aapcs-linux \
-       --disable-sjlj-exceptions \
-%endif
-%if "%{TARGET_ARCH}" == "armv6hl"
-        --with-arch=armv6zk \
-        --with-tune=arm1176jzf-s \
+%if "%{TARGET_ARCH}" == "armv6hl" || "%{TARGET_ARCH}" == "arm"
+       --with-cpu=arm1176jzf-s \
         --with-float=hard \
         --with-abi=aapcs-linux \
-        --with-fpu=vfp \
+       --with-fpu=vfpv2 \
         --disable-sjlj-exceptions \
 %endif
 %if "%{TARGET_ARCH}" == "armv7hl"
-       --with-arch=armv7-a \
-       --with-tune=generic-armv7-a \
+       --with-cpu=generic-armv7-a \
        --with-float=hard \
        --with-abi=aapcs-linux \
        --with-fpu=vfpv3-d16 \

cross-aarch64-gcc11.spec: same change
cross-amdgcn-gcc11.spec: same change
cross-arm-gcc11.spec: same change
cross-arm-none-gcc11-bootstrap.spec: same change
cross-arm-none-gcc11.spec: same change
cross-avr-gcc11-bootstrap.spec: same change
cross-avr-gcc11.spec: same change
cross-epiphany-gcc11-bootstrap.spec: same change
cross-epiphany-gcc11.spec: same change
cross-hppa-gcc11.spec: same change
cross-m68k-gcc11.spec: same change
cross-mips-gcc11.spec: same change
cross-nvptx-gcc11.spec: same change
cross-ppc64-gcc11.spec: same change
cross-ppc64le-gcc11.spec: same change
cross-riscv64-elf-gcc11-bootstrap.spec: same change
cross-riscv64-elf-gcc11.spec: same change
cross-riscv64-gcc11-bootstrap.spec: same change
cross-riscv64-gcc11.spec: same change
cross-rx-gcc11-bootstrap.spec: same change
cross-rx-gcc11.spec: same change
cross-s390x-gcc11.spec: same change
cross-sparc-gcc11.spec: same change
cross-sparc64-gcc11.spec: same change
cross-x86_64-gcc11.spec: same change
gcc11-testresults.spec: same change
++++++ gcc11.spec ++++++
--- /var/tmp/diff_new_pack.0WL65c/_old  2022-03-21 20:10:56.128373753 +0100
+++ /var/tmp/diff_new_pack.0WL65c/_new  2022-03-21 20:10:56.136373761 +0100
@@ -186,7 +186,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        11.2.1+git1173
+Version:        11.2.1+git1406
 Release:        0
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -359,6 +359,7 @@
 Patch18:        gcc10-amdgcn-llvm-as.patch
 Patch19:        gcc11-gdwarf-4-default.patch
 Patch20:        gcc11-amdgcn-disable-hot-cold-partitioning.patch
+Patch21:        gcc11-pr104931.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 Patch52:        gcc10-foffload-default.patch
@@ -2000,6 +2001,7 @@
 %patch19 -p1
 %endif
 %patch20 -p1
+%patch21 -p1
 %patch51
 %patch52 -p1
 %patch60 -p1
@@ -2244,14 +2246,6 @@
        --with-native-system-header-dir=/include \
 %endif
 %endif
-%if "%{TARGET_ARCH}" == "arm"
-        --with-arch=armv6zk \
-        --with-tune=arm1176jzf-s \
-       --with-float=hard \
-       --with-abi=aapcs-linux \
-       --with-fpu=vfp \
-       --disable-sjlj-exceptions \
-%endif
 %if "%{TARGET_ARCH}" == "arm-none"
        --enable-multilib \
        --with-multilib-list=aprofile,rmprofile \
@@ -2264,24 +2258,15 @@
        --disable-threads \
        --disable-tls \
 %endif
-%if "%{TARGET_ARCH}" == "armv5tel"
-       --with-arch=armv5te \
-       --with-float=soft \
-       --with-mode=arm \
-       --with-abi=aapcs-linux \
-       --disable-sjlj-exceptions \
-%endif
-%if "%{TARGET_ARCH}" == "armv6hl"
-        --with-arch=armv6zk \
-        --with-tune=arm1176jzf-s \
+%if "%{TARGET_ARCH}" == "armv6hl" || "%{TARGET_ARCH}" == "arm"
+       --with-cpu=arm1176jzf-s \
         --with-float=hard \
         --with-abi=aapcs-linux \
-        --with-fpu=vfp \
+       --with-fpu=vfpv2 \
         --disable-sjlj-exceptions \
 %endif
 %if "%{TARGET_ARCH}" == "armv7hl"
-       --with-arch=armv7-a \
-       --with-tune=generic-armv7-a \
+       --with-cpu=generic-armv7-a \
        --with-float=hard \
        --with-abi=aapcs-linux \
        --with-fpu=vfpv3-d16 \

++++++ gcc-11.2.1+git1173.tar.xz -> gcc-11.2.1+git1406.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc11/gcc-11.2.1+git1173.tar.xz 
/work/SRC/openSUSE:Factory/.gcc11.new.25692/gcc-11.2.1+git1406.tar.xz differ: 
char 15, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.0WL65c/_old  2022-03-21 20:10:56.412374045 +0100
+++ /var/tmp/diff_new_pack.0WL65c/_new  2022-03-21 20:10:56.420374054 +0100
@@ -190,7 +190,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 11.2.1+git1173
+Version: 11.2.1+git1406
 Release:      1
 %define gcc_dir_version %(echo %version |  sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -364,6 +364,7 @@
 Patch18:       gcc10-amdgcn-llvm-as.patch
 Patch19:       gcc11-gdwarf-4-default.patch
 Patch20:       gcc11-amdgcn-disable-hot-cold-partitioning.patch
+Patch21:       gcc11-pr104931.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
 Patch52:       gcc10-foffload-default.patch
@@ -1195,6 +1196,7 @@
 %patch19 -p1
 %endif
 %patch20 -p1
+%patch21 -p1
 %patch51
 %patch52 -p1
 %patch60 -p1
@@ -1439,14 +1441,6 @@
        --with-native-system-header-dir=/include \
 %endif
 %endif
-%if "%{TARGET_ARCH}" == "arm"
-        --with-arch=armv6zk \
-        --with-tune=arm1176jzf-s \
-       --with-float=hard \
-       --with-abi=aapcs-linux \
-       --with-fpu=vfp \
-       --disable-sjlj-exceptions \
-%endif
 %if "%{TARGET_ARCH}" == "arm-none"
        --enable-multilib \
        --with-multilib-list=aprofile,rmprofile \
@@ -1459,24 +1453,15 @@
        --disable-threads \
        --disable-tls \
 %endif
-%if "%{TARGET_ARCH}" == "armv5tel"
-       --with-arch=armv5te \
-       --with-float=soft \
-       --with-mode=arm \
+%if "%{TARGET_ARCH}" == "armv6hl" || "%{TARGET_ARCH}" == "arm"
+       --with-cpu=arm1176jzf-s \
+       --with-float=hard \
        --with-abi=aapcs-linux \
+       --with-fpu=vfpv2 \
        --disable-sjlj-exceptions \
 %endif
-%if "%{TARGET_ARCH}" == "armv6hl"
-        --with-arch=armv6zk \
-        --with-tune=arm1176jzf-s \
-        --with-float=hard \
-        --with-abi=aapcs-linux \
-        --with-fpu=vfp \
-        --disable-sjlj-exceptions \
-%endif
 %if "%{TARGET_ARCH}" == "armv7hl"
-       --with-arch=armv7-a \
-       --with-tune=generic-armv7-a \
+       --with-cpu=generic-armv7-a \ 
        --with-float=hard \
        --with-abi=aapcs-linux \
        --with-fpu=vfpv3-d16 \

++++++ gcc11-pr104931.patch ++++++
>From 841a5f32add8d0c9fd33454e89b67b8fa3ded0c3 Mon Sep 17 00:00:00 2001
From: Richard Biener <rguent...@suse.de>
Date: Wed, 16 Mar 2022 14:53:06 +0100
Subject: [PATCH] tree-optimization/104931 - mitigate niter analysis issue
To: gcc-patc...@gcc.gnu.org

The following backports a pointer associating pattern from trunk
that mitigates an issue with number_of_iterations_lt_to_ne in
which context we fail to fold a comparison but succeed in folding
a related subtraction.  In the failure mode this results in
a loop wrongly assumed looping with a bogus number of iterations,
resulting in crashing of the premake application on start.

With the backported simplification we are able to fold the
comparison and correctly compute the loop as not iterating.

I have failed to create a standalone testcase.  I belive part
of the issue is still latent but I have failed to nail down
the issue exactly.  Still I believe the backporting of the
mitigation patch is the most sensible and safe thing at this
point.

2022-03-16  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/104931
        * match.pd ((ptr) (x p+ y) p+ z -> (ptr) (x p+ (y + z))): New GENERIC
        simplification.
---
 gcc/match.pd | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/match.pd b/gcc/match.pd
index 05a08d0f96a..a005dcd42bd 100644
--- a/gcc/match.pd
+++ b/gcc/match.pd
@@ -1997,6 +1997,11 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
 (simplify
   (pointer_plus (pointer_plus:s @0 @1) @3)
   (pointer_plus @0 (plus @1 @3)))
+#if GENERIC
+(simplify
+  (pointer_plus (convert:s (pointer_plus:s @0 @1)) @3)
+  (convert:type (pointer_plus @0 (plus @1 @3))))
+#endif
 
 /* Pattern match
      tem1 = (long) ptr1;
-- 
2.34.1

Reply via email to