public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 4.3.0-2
@ 2026-06-29 12:23 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2026-06-29 12:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 69c085da3aefdd1d0b4b92d15f8377cbf451bc20
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date   : 2008-03-07T16:36:09+00:00
Stats  : +24/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/69c085da3aefdd1d0b4b92d15f8377cbf451bc20?branch=rhel-f41-base

Log:
4.3.0-2

---
diff --git a/gcc43-pr35498.patch b/gcc43-pr35498.patch
new file mode 100644
index 0000000..8d2eff5
--- /dev/null
+++ b/gcc43-pr35498.patch
@@ -0,0 +1,18 @@
+2008-03-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR target/35498
+	* config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift
+	wdst back after sync_compare_and_swapqhi_internal.
+
+--- gcc/config/rs6000/rs6000.c.jj	2008-02-29 09:11:54.000000000 +0100
++++ gcc/config/rs6000/rs6000.c	2008-03-07 17:22:27.000000000 +0100
+@@ -13858,6 +13858,9 @@ rs6000_expand_compare_and_swapqhi (rtx d
+   emit_insn (gen_sync_compare_and_swapqhi_internal (wdst, mask,
+ 						    oldval, newval, mem));
+ 
++  /* Shift the result back.  */
++  emit_insn (gen_lshrsi3 (wdst, wdst, shift));
++
+   emit_move_insn (dst, gen_lowpart (mode, wdst));
+ }
+ 

diff --git a/gcc43.spec b/gcc43.spec
index ed41060..c9b1d9e 100644
--- a/gcc43.spec
+++ b/gcc43.spec
@@ -1,6 +1,6 @@
 %define DATE 20080307
 %define gcc_version 4.3.0
-%define gcc_release 1
+%define gcc_release 2
 %define _unpackaged_files_terminate_build 0
 %define multilib_64_archs sparc64 ppc64 s390x x86_64
 %define include_gappletviewer 1
@@ -140,6 +140,7 @@ Patch10: gcc43-rh330771.patch
 Patch11: gcc43-rh341221.patch
 Patch12: gcc43-cpp-pragma.patch
 Patch13: gcc43-java-debug-iface-type.patch
+Patch14: gcc43-pr35498.patch
 
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # target triple.
@@ -436,6 +437,7 @@ which are required to run programs compiled with the GNAT.
 %patch11 -p0 -b .rh341221~
 %patch12 -p0 -b .cpp-pragma~
 %patch13 -p0 -b .java-debug-iface-type~
+%patch14 -p0 -b .pr35498~
 
 tar xzf %{SOURCE4}
 
@@ -1649,6 +1651,9 @@ fi
 %doc rpm.doc/changelogs/libmudflap/ChangeLog*
 
 %changelog
+* Fri Mar  7 2008 Jakub Jelinek <jakub@redhat.com> 4.3.0-2
+- fix ppc/ppc64 8/16 bit sync builtins (PR target/35498)
+
 * Fri Mar  7 2008 Jakub Jelinek <jakub@redhat.com> 4.3.0-1
 - gcc 4.3.0 release
   - PRs c++/35244, c++/35315, c++/35323, c++/35333, c++/35338, driver/35420,

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

only message in thread, other threads:[~2026-06-29 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:23 [rpms/gcc] rhel-f41-base: 4.3.0-2 Jakub Jelinek

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