summaryrefslogtreecommitdiff
path: root/bootstrap/llvm14/ppc-gcc-bug.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-04 17:27:59 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-12-04 17:27:59 -0600
commita52113d2368551dc2c530b765f656e724fcd7739 (patch)
treee29c2aa61e7685cff165f23a043421de485ac9fe /bootstrap/llvm14/ppc-gcc-bug.patch
parent9286e92e196082d80499e286c154086d0d302188 (diff)
downloadpackages-a52113d2368551dc2c530b765f656e724fcd7739.tar.gz
packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.bz2
packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.xz
packages-a52113d2368551dc2c530b765f656e724fcd7739.zip
user/llvm14: Move to bootstrap/
Package is only needed by Rust bootstrap packages.
Diffstat (limited to 'bootstrap/llvm14/ppc-gcc-bug.patch')
-rw-r--r--bootstrap/llvm14/ppc-gcc-bug.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/bootstrap/llvm14/ppc-gcc-bug.patch b/bootstrap/llvm14/ppc-gcc-bug.patch
new file mode 100644
index 000000000..4fe2f34f4
--- /dev/null
+++ b/bootstrap/llvm14/ppc-gcc-bug.patch
@@ -0,0 +1,22 @@
+Upstream: https://github.com/llvm/llvm-project/issues/95594
+Ref: #1204
+
+--- llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h.old 2024-06-15 12:21:32.000000000 -0500
++++ llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h 2024-06-25 21:42:07.495284340 -0500
+@@ -378,6 +378,8 @@
+ return Size;
+ }
+
++#pragma GCC push_options
++#pragma GCC optimize("no-tree-ch")
+ static bool serialize(SPSOutputBuffer &OB, const SequenceT &S) {
+ if (!SPSArgList<uint64_t>::serialize(OB, static_cast<uint64_t>(S.size())))
+ return false;
+@@ -386,6 +388,7 @@
+ return false;
+ return true;
+ }
++#pragma GCC pop_options
+
+ static bool deserialize(SPSInputBuffer &IB, SequenceT &S) {
+ using TBSD = TrivialSPSSequenceDeserialization<SPSElementTagT, SequenceT>;