public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] snapshot: Snapshot 20260917s
@ 2026-09-17 15:08 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2026-09-17 15:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : snapshot
            Commit : b20cda394084f8ba651fd6c9946a944e18767cbb
            Author : Siddhesh Poyarekar <siddhesh@redhat.com>
            Date   : 2026-09-17T11:06:15-04:00
            Stats  : +52/-79 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/b20cda394084f8ba651fd6c9946a944e18767cbb?branch=snapshot

            Log:
            Snapshot 20260917s

Assisted-by: Claude <noreply@anthropic.com>

---
diff --git a/.gitignore b/.gitignore
index bc57896..a9b0d95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,3 +49,4 @@
 /gcc-17.0.0-20260716s.tar.xz
 /gcc-17.0.0-20260818s.tar.xz
 /gcc-17.0.0-20260831s.tar.xz
+/gcc-17.0.0-20260917s.tar.xz

diff --git a/gcc.spec b/gcc.spec
index 8e0b6db..9e986f1 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,6 +1,6 @@
 %global snapshot_build 1
-%global DATE 20260831
-%global gitrev 81c78a0349a221c98a5d8cc83bd44a2bbbd31c15
+%global DATE 20260917
+%global gitrev 9f6eb7d2993046e5720275f590098db0ac0188d4
 %global gcc_version 17.0.0
 %global gcc_major 17
 # Note, gcc_release must be integer, if you want to add suffixes to
@@ -400,7 +400,6 @@ Patch8: gcc17-no-add-needed.patch
 Patch9: gcc17-Wno-format-security.patch
 Patch10: gcc17-rh1574936.patch
 Patch11: gcc17-d-shared-libphobos.patch
-Patch12: gcc17-pr119006.patch
 
 Patch50: isl-rh2155127.patch
 
@@ -5214,6 +5213,55 @@ end
 %endif
 
 %changelog
+* Thu Sep 17 2026 Siddhesh Poyarekar <siddhesh@redhat.com> gcc-17.0.0-999.20260917s.0
+- update from trunk
+  - PRs bootstrap/126875, c/127383, c++/114804, c++/122258, c++/124249,
+	c++/124414, c++/125820, c++/125840, c++/125845, c++/126811,
+	c++/126970, c++/127097, c++/127109, c++/127132, c++/127207,
+	c++/127276, c++/127282, c++/127349, debug/108784, fortran/103474,
+	fortran/104750, fortran/126777, fortran/126781, fortran/126950,
+	fortran/126964, gcov-profile/127038, gcov-profile/127408, ipa/119006,
+	ipa/123227, ipa/126153, libgomp/127186, libstdc++/122071,
+	libstdc++/123409, libstdc++/124121, libstdc++/125845,
+	libstdc++/126800, libstdc++/126807, libstdc++/126949,
+	libstdc++/127219, libstdc++/127220, libstdc++/127325,
+	libstdc++/127430, lto/126841, middle-end/122205, middle-end/125390,
+	middle-end/126622, middle-end/126912, middle-end/127184,
+	middle-end/127185, middle-end/127273, middle-end/127308,
+	middle-end/127323, middle-end/127330, middle-end/127336,
+	modula2/126174, modula2/127359, rtl-optimization/127142,
+	rtl-optimization/127244, target/96056, target/111609, target/117584,
+	target/122535, target/124996, target/126096, target/126196,
+	target/126243, target/126463, target/126629, target/126671,
+	target/126866, target/126932, target/126983, target/127114,
+	target/127153, target/127177, target/127188, target/127191,
+	target/127225, target/127264, target/127269, target/127306,
+	target/127318, target/127352, testsuite/93231, testsuite/119160,
+	testsuite/120277, testsuite/121035, testsuite/121468,
+	testsuite/123109, testsuite/126536, tree-optimization/89007,
+	tree-optimization/105679, tree-optimization/106495,
+	tree-optimization/107881, tree-optimization/113703,
+	tree-optimization/117193, tree-optimization/125734,
+	tree-optimization/126153, tree-optimization/126690,
+	tree-optimization/126760, tree-optimization/126942,
+	tree-optimization/126977, tree-optimization/127052,
+	tree-optimization/127092, tree-optimization/127103,
+	tree-optimization/127130, tree-optimization/127133,
+	tree-optimization/127134, tree-optimization/127149,
+	tree-optimization/127154, tree-optimization/127163,
+	tree-optimization/127166, tree-optimization/127183,
+	tree-optimization/127190, tree-optimization/127195,
+	tree-optimization/127201, tree-optimization/127206,
+	tree-optimization/127245, tree-optimization/127261,
+	tree-optimization/127262, tree-optimization/127310,
+	tree-optimization/127358, tree-optimization/127363,
+	tree-optimization/127377, tree-optimization/127379,
+	tree-optimization/127390, tree-optimization/127391,
+	tree-optimization/127405, tree-optimization/127407
+- drop gcc17-pr119006.patch: PR ipa/119006 is now fixed upstream in trunk
+  (commit d794365c8f0) via a different mechanism (OEP_ADDRESS_OF_SAME_FIELD),
+  which superseded our carry patch and made it fail to apply
+
 * Mon Aug 31 2026 Siddhesh Poyarekar <siddhesh@redhat.com> gcc-17.0.0-999.20260831s.0
 - update from trunk
   - PRs ada/125984, ada/126907, ada/126928, ada/127026, c++/70097, c++/112632,

diff --git a/gcc17-pr119006.patch b/gcc17-pr119006.patch
deleted file mode 100644
index dfbdaa9..0000000
--- a/gcc17-pr119006.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-2025-02-27  Jakub Jelinek  <jakub@redhat.com>
-
-	PR ipa/119006
-	* ipa-icf-gimple.cc (func_checker::compare_operand): If t1 and t2
-	are ADDR_EXPRs, call operand_equal_p on their operands rather than on
-	the ADDR_EXPRs themselves.  Formatting fix.
-
-	* g++.dg/opt/pr119006.C: New test.
-
---- gcc/ipa-icf-gimple.cc.jj	2025-02-01 00:50:02.080774328 +0100
-+++ gcc/ipa-icf-gimple.cc	2025-02-27 14:35:19.931183246 +0100
-@@ -437,12 +437,23 @@ func_checker::compare_operand (tree t1,
- 		 ("compare_ao_refs failed (dependence clique difference)");
-       gcc_unreachable ();
-     }
-+  else if (TREE_CODE (t1) == ADDR_EXPR && TREE_CODE (t2) == ADDR_EXPR)
-+    {
-+      /* For ADDR_EXPR compare the operands of the ADDR_EXPR rather than
-+	 the ADDR_EXPRs themselves.  operand_equal_p will compare the
-+	 operands with OEP_ADDRESS_OF and only care about the value
-+	 of the ADDR_EXPR, rather than e.g. types of MEM_REFs in there.
-+	 Some optimizations use such details though, see PR119006.  */
-+      if (operand_equal_p (TREE_OPERAND (t1, 0), TREE_OPERAND (t2, 0),
-+			   OEP_MATCH_SIDE_EFFECTS))
-+	return true;
-+      return return_false_with_msg ("operand_equal_p failed");
-+    }
-   else
-     {
-       if (operand_equal_p (t1, t2, OEP_MATCH_SIDE_EFFECTS))
- 	return true;
--      return return_false_with_msg
--		 ("operand_equal_p failed");
-+      return return_false_with_msg ("operand_equal_p failed");
-     }
- }
- 
---- gcc/testsuite/g++.dg/opt/pr119006.C.jj	2025-02-27 14:37:05.952707350 +0100
-+++ gcc/testsuite/g++.dg/opt/pr119006.C	2025-02-27 14:36:29.251218260 +0100
-@@ -0,0 +1,36 @@
-+// PR ipa/119006
-+// { dg-do run { target c++11 } }
-+// { dg-options "-O2 -fwhole-program" }
-+
-+struct A {
-+  bool operator== (const char *x) const { return x && !__builtin_strcmp (a, x); }
-+  char a[11];
-+};
-+
-+struct B {
-+  bool operator== (const char *x) const { return x && !__builtin_strcmp (a, x); }
-+  bool operator!= (const char *x) const { return !(*this == x); }
-+  char a[128];
-+};
-+
-+[[gnu::noinline,gnu::used]] int
-+foo (const A& lhs, const char* rhs)
-+{
-+  return lhs == rhs;
-+}
-+
-+constexpr const char *t = "abcdefghijklmno";
-+
-+[[gnu::noinline,gnu::used]] void
-+bar (B x)
-+{
-+  if (x != t) __builtin_abort ();
-+}
-+
-+int
-+main ()
-+{
-+  B b;
-+  __builtin_strcpy (b.a, t);
-+  bar (b);
-+}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 15:08 [rpms/gcc] snapshot: Snapshot 20260917s Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox