Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc13 for openSUSE:Factory checked 
in at 2026-09-12 21:15:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc13 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc13.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc13"

Sat Sep 12 21:15:19 2026 rev:42 rq:1377335 version:13.5.0+git10516

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc13/gcc13.changes      2026-06-11 
17:26:08.263251429 +0200
+++ /work/SRC/openSUSE:Factory/.gcc13.new.1265/gcc13.changes    2026-09-12 
21:15:51.653748877 +0200
@@ -1,0 +2,13 @@
+Fri Sep 11 07:16:30 UTC 2026 - Richard Biener <[email protected]>
+
+- Update to final GCC 13.5 
+
+-------------------------------------------------------------------
+Fri Sep  4 08:11:10 UTC 2026 - Richard Biener <[email protected]>
+
+- Update to gcc-13 branch head, 3c92f70d174a1bc9a4bfb866d, git10509 
+  * GCC 13.5 release candidate
+- Add gcc13-pr124811.patch to resolve reproducible build issues
+  when a PCH is used
+
+-------------------------------------------------------------------

Old:
----
  gcc-13.4.1+git10355.tar.xz

New:
----
  gcc-13.5.0+git10516.tar.xz
  gcc13-pr124811.patch

----------(New B)----------
  New:  * GCC 13.5 release candidate
- Add gcc13-pr124811.patch to resolve reproducible build issues
  when a PCH is used
----------(New E)----------

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

Other differences:
------------------
++++++ cross-aarch64-gcc13-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.h3v1yI/_old  2026-09-12 21:15:53.852840333 +0200
+++ /var/tmp/diff_new_pack.h3v1yI/_new  2026-09-12 21:15:53.854840417 +0200
@@ -108,7 +108,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        13.4.1+git10355
+Version:        13.5.0+git10516
 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/+/-/')
@@ -139,6 +139,7 @@
 Patch26:        gcc13-pr101523.patch
 Patch27:        gcc13-amdgcn-remove-fiji.patch
 Patch28:        gcc13-bsc1239566.patch
+Patch29:        gcc13-pr124811.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -372,6 +373,7 @@
 %patch -P 26 -p1
 %patch -P 27 -p1
 %patch -P 28 -p1
+%patch -P 29 -p1
 %patch -P 51
 %patch -P 60 -p1
 %patch -P 61 -p1

cross-aarch64-gcc13.spec: same change
cross-amdgcn-gcc13.spec: same change
cross-arm-gcc13.spec: same change
cross-arm-none-gcc13-bootstrap.spec: same change
cross-arm-none-gcc13.spec: same change
cross-avr-gcc13-bootstrap.spec: same change
cross-avr-gcc13.spec: same change
cross-bpf-gcc13.spec: same change
cross-hppa-gcc13-bootstrap.spec: same change
cross-nvptx-gcc13.spec: same change
cross-ppc64-gcc13.spec: same change
cross-ppc64le-gcc13-bootstrap.spec: same change
cross-ppc64le-gcc13.spec: same change
cross-pru-gcc13-bootstrap.spec: same change
cross-pru-gcc13.spec: same change
cross-riscv64-elf-gcc13-bootstrap.spec: same change
cross-riscv64-elf-gcc13.spec: same change
cross-riscv64-gcc13-bootstrap.spec: same change
cross-riscv64-gcc13.spec: same change
cross-rx-gcc13-bootstrap.spec: same change
cross-rx-gcc13.spec: same change
cross-s390x-gcc13-bootstrap.spec: same change
cross-s390x-gcc13.spec: same change
cross-x86_64-gcc13.spec: same change
gcc13-testresults.spec: same change
++++++ gcc13.spec ++++++
--- /var/tmp/diff_new_pack.h3v1yI/_old  2026-09-12 21:15:54.597871318 +0200
+++ /var/tmp/diff_new_pack.h3v1yI/_new  2026-09-12 21:15:54.600871443 +0200
@@ -205,7 +205,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        13.4.1+git10355
+Version:        13.5.0+git10516
 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/+/-/')
@@ -390,6 +390,7 @@
 Patch26:        gcc13-pr101523.patch
 Patch27:        gcc13-amdgcn-remove-fiji.patch
 Patch28:        gcc13-bsc1239566.patch
+Patch29:        gcc13-pr124811.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -2381,6 +2382,7 @@
 %patch -P 26 -p1
 %patch -P 27 -p1
 %patch -P 28 -p1
+%patch -P 29 -p1
 %patch -P 51
 %patch -P 60 -p1
 %patch -P 61 -p1

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.h3v1yI/_old  2026-09-12 21:15:54.692875269 +0200
+++ /var/tmp/diff_new_pack.h3v1yI/_new  2026-09-12 21:15:54.696875435 +0200
@@ -1,5 +1,5 @@
-mtime: 1781089840
-commit: 879807ed883284704730f807ff8c907b36eb5fdcaaea89c8988cd15f99c58d69
+mtime: 1789111069
+commit: 906e74d3145658a4dc0c2369436792f2ff634d02c7476f43865bca225a6aea57
 url: https://src.opensuse.org/gcc/gcc13.git
 revision: main
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-09-11 09:17:49.000000000 +0200
@@ -0,0 +1 @@
+.osc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pre_checkin.sh new/pre_checkin.sh
--- old/pre_checkin.sh  1970-01-01 01:00:00.000000000 +0100
+++ new/pre_checkin.sh  2026-09-11 09:17:49.000000000 +0200
@@ -0,0 +1,31 @@
+#!/bin/bash
+# This script is called automatically during autobuild checkin.
+
+case $0 in
+  \./*)
+    here=$PWD
+    ;;
+  */*)
+    here=${0%/*}
+    ;;
+  *)
+    here=$PWD
+    ;;
+esac
+case ${here##*/} in
+  gcc*.*)
+    # Handle maintainance projects with .$REPO suffix
+    suffix=${here##*/}
+    suffix=${suffix%%\.*}
+    set ${suffix#gcc}
+    ;;
+  gcc-*)
+    suffix=${here##*/}
+    set ${suffix#*-}-
+    ;;
+  gcc[0-9]*)
+    suffix=${here##*/}
+    set ${suffix#gcc}
+    ;;
+esac
+. ${here}/change_spec

++++++ gcc-13.4.1+git10355.tar.xz -> gcc-13.5.0+git10516.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc13/gcc-13.4.1+git10355.tar.xz 
/work/SRC/openSUSE:Factory/.gcc13.new.1265/gcc-13.5.0+git10516.tar.xz differ: 
char 15, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.h3v1yI/_old  2026-09-12 21:15:54.925884960 +0200
+++ /var/tmp/diff_new_pack.h3v1yI/_new  2026-09-12 21:15:54.928885084 +0200
@@ -209,7 +209,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 13.4.1+git10355
+Version: 13.5.0+git10516
 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/+/-/')
@@ -395,6 +395,7 @@
 Patch26:       gcc13-pr101523.patch
 Patch27:       gcc13-amdgcn-remove-fiji.patch
 Patch28:       gcc13-bsc1239566.patch
+Patch29:       gcc13-pr124811.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -1371,6 +1372,7 @@
 %patch -P 26 -p1
 %patch -P 27 -p1
 %patch -P 28 -p1
+%patch -P 29 -p1
 %patch -P 51
 %patch -P 60 -p1
 %patch -P 61 -p1

++++++ gcc13-pr124811.patch ++++++
>From 60bfb7f9ae45314916d74e28d93402fbb15d4947 Mon Sep 17 00:00:00 2001
From: Richard Biener <[email protected]>
Date: Wed, 12 Aug 2026 15:58:39 -0400
Subject: [PATCH] c++: do not hash TYPENAME_TYPEs on pointers [PR124811]
To: [email protected]

From: Patrick Palka <[email protected]>

typename_htab is written to a precompiled header.  A hash table is
streamed out slot array and all: gt_pch_nx() relocates the pointers
inside the entries but leaves every entry in the slot it happened to
occupy.  typename_hasher hashed on the addresses of the scope and the
fullname, so the slots were chosen from addresses that ASLR randomises
in the process writing the header, and they no longer correspond to the
hash of anything once the header has been read back at a different
address.

Lookups then find a restored TYPENAME_TYPE only when it happens to lie
on the probe sequence of the slot the new hash points at, so most miss
and build a duplicate, and which ones miss depends on the layout the
writing process had.  That makes a compile using a PCH differ from the
same compile without one, and differ from itself between runs: the
duplicates consume DECL_UIDs, every later DECL_UID shifts, and
var-tracking hashes on DECL_UID, so .debug_loclists comes out different.

Hash on TYPE_UID instead, which the header preserves, and use
iterative_hash_template_arg to properly hash fullname which can be an
arbitrary TEMPLATE_ID_EXPR.  (It's important to hash the fullname instead
of just the name for sake of the PR c++/65328 compile-time-hog testcase.)

        PR c++/124811

gcc/cp/ChangeLog:

        * decl.cc (typename_hasher::hash): Instead of pointer hashing,
        hash TYPE_HASH of context and use iterative_hash_template_arg
        to hash fullname.

Co-authored-by: Bernhard M. Wiedemann <[email protected]>
Reviewed-by: Jason Merrill <[email protected]>
(cherry picked from commit cc08be7bf549072bf3699a57d3d37222e8c1087d)
---
 gcc/cp/decl.cc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/cp/decl.cc b/gcc/cp/decl.cc
index 9a5f2ee8742..8f629ce37e3 100644
--- a/gcc/cp/decl.cc
+++ b/gcc/cp/decl.cc
@@ -4140,8 +4140,12 @@ struct typename_hasher : ggc_ptr_hash<tree_node>
   hash (tree context, tree fullname)
   {
     hashval_t hash = 0;
-    hash = iterative_hash_object (context, hash);
-    hash = iterative_hash_object (fullname, hash);
+    hash = iterative_hash_hashval_t (TYPE_HASH (context), hash);
+    /* FULLNAME could be a template-id, so use iterative_hash_template_arg 
here.
+       And might as well set comparing_specializations for stronger hashing.  
*/
+    ++comparing_specializations;
+    hash = iterative_hash_template_arg (fullname, hash);
+    --comparing_specializations;
     return hash;
   }
 
-- 
2.51.0

Reply via email to