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

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 57a884df51484cf26a86d39d10bf7ad8eb6835ed
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2020-01-18T19:07:51+01:00
Stats  : +18/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/57a884df51484cf26a86d39d10bf7ad8eb6835ed?branch=rhel-f41-base

Log:
Fix nvptx-none build.

---
diff --git a/gcc.spec b/gcc.spec
index 2d6aadd..59a6d95 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -256,6 +256,7 @@ Patch8: gcc10-foffload-default.patch
 Patch9: gcc10-Wno-format-security.patch
 Patch10: gcc10-rh1574936.patch
 Patch11: gcc10-d-shared-libphobos.patch
+Patch12: gcc10-coroutines.patch
 
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # target triple.
@@ -767,6 +768,7 @@ to NVidia PTX capable devices if available.
 %patch10 -p0 -b .rh1574936~
 %endif
 %patch11 -p0 -b .d-shared-libphobos~
+%patch12 -p0 -b .coroutines~
 
 echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
 

diff --git a/gcc10-coroutines.patch b/gcc10-coroutines.patch
new file mode 100644
index 0000000..87d3db1
--- /dev/null
+++ b/gcc10-coroutines.patch
@@ -0,0 +1,16 @@
+2020-01-18  Jakub Jelinek  <jakub@redhat.com>
+
+	* coroutines.cc (get_fn_local_identifier): Fix NO_DOT_IN_LABEL
+	but non-NO_DOLLAR_IN_LABEL case build.
+
+--- gcc/cp/coroutines.cc.jj	2020-01-18 13:47:09.318360691 +0100
++++ gcc/cp/coroutines.cc	2020-01-18 19:05:48.349119608 +0100
+@@ -2252,7 +2252,7 @@ get_fn_local_identifier (tree orig, cons
+   sep = ".";
+ #else
+ #ifndef NO_DOLLAR_IN_LABEL
+-  sep = "$"
++  sep = "$";
+ #else
+   sep = "_";
+   pfx = "__";

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

only message in thread, other threads:[~2026-06-29 12:28 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:28 [rpms/gcc] rhel-f41-base: Fix nvptx-none build Jakub Jelinek

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