Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spirv-tools for openSUSE:Factory 
checked in at 2026-04-10 17:49:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spirv-tools (Old)
 and      /work/SRC/openSUSE:Factory/.spirv-tools.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spirv-tools"

Fri Apr 10 17:49:18 2026 rev:57 rq:1345301 version:2026.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/spirv-tools/spirv-tools.changes  2026-01-28 
15:05:26.525742045 +0100
+++ /work/SRC/openSUSE:Factory/.spirv-tools.new.21863/spirv-tools.changes       
2026-04-10 17:51:33.510211571 +0200
@@ -1,0 +2,5 @@
+Wed Apr  8 22:19:19 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Add gcc16.patch
+
+-------------------------------------------------------------------

New:
----
  gcc16.patch

----------(New B)----------
  New:
- Add gcc16.patch
----------(New E)----------

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

Other differences:
------------------
++++++ spirv-tools.spec ++++++
--- /var/tmp/diff_new_pack.vPojvp/_old  2026-04-10 17:51:34.426249290 +0200
+++ /var/tmp/diff_new_pack.vPojvp/_new  2026-04-10 17:51:34.430249454 +0200
@@ -35,6 +35,7 @@
 Source:         
https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2026.1.tar.gz
 Source9:        baselibs.conf
 Patch1:         ver.diff
+Patch2:         gcc16.patch
 BuildRequires:  bison
 BuildRequires:  cmake >= 3.17.2
 BuildRequires:  gcc%{?gcc_version} >= 9

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.vPojvp/_old  2026-04-10 17:51:34.486251761 +0200
+++ /var/tmp/diff_new_pack.vPojvp/_new  2026-04-10 17:51:34.490251925 +0200
@@ -1,5 +1,5 @@
-mtime: 1769454589
-commit: 67c0ed6c176ff2718ea0f482c191dc8c808d2c76fc125c746b38f644eb7b781f
+mtime: 1775687742
+commit: 3491aebec3580b69dbb830cb7c9de95dab7bd3ac808ed658ce4eb0d6dcf7c864
 url: https://src.opensuse.org/jengelh/spirv-tools
 revision: master
 

++++++ 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-04-09 00:35:51.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ gcc16.patch ++++++
>From c28f5937bce369dde1d645299a8c9873da43dc72 Mon Sep 17 00:00:00 2001
From: David Neto <[email protected]>
Date: Tue, 3 Mar 2026 12:11:47 -0500
Subject: [PATCH] opt: Fix build issue with gcc 16  (replaeces PR #6542)
 (#6567)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Compiling with gcc 16 throws this error:

FAILED: [code=1]
source/opt/CMakeFiles/SPIRV-Tools-opt.dir/decoration_manager.cpp.o
    source/opt/decoration_manager.cpp: In member function
‘spvtools::opt::analysis::DecorationManager::CloneDecorations(unsigned
int, unsigned int)’:
    source/opt/decoration_manager.cpp:546:27: error:
‘MEM[(unsigned int &)&op + 24]’ may be used uninitialized
[-Werror=maybe-uninitialized]

546 | if (op.words[0] == from) { // add new pair of operands: (to,
literal)
    source/opt/decoration_manager.cpp:545:19: note: ‘op’ declared here
      545 |           Operand op = inst->GetOperand(i);
          |                   ^~
    cc1plus: all warnings being treated as errors

Make sure that the vector is not empty before using it.

Co-authored-by: José Expósito <[email protected]>
---
 source/opt/decoration_manager.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source/opt/decoration_manager.cpp 
b/source/opt/decoration_manager.cpp
index 3e95dbc3..bee7d948 100644
--- a/source/opt/decoration_manager.cpp
+++ b/source/opt/decoration_manager.cpp
@@ -543,7 +543,8 @@ void DecorationManager::CloneDecorations(uint32_t from, 
uint32_t to) {
         const uint32_t num_operands = inst->NumOperands();
         for (uint32_t i = 1; i < num_operands; i += 2) {
           Operand op = inst->GetOperand(i);
-          if (op.words[0] == from) {  // add new pair of operands: (to, 
literal)
+          if (!op.words.empty() &&
+              op.words[0] == from) {  // add new pair of operands: (to, 
literal)
             inst->AddOperand(
                 Operand(spv_operand_type_t::SPV_OPERAND_TYPE_ID, {to}));
             op = inst->GetOperand(i + 1);
-- 
2.53.0

Reply via email to