summaryrefslogtreecommitdiff
path: root/bootstrap/llvm18/i586-json-test.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2024-12-06 19:22:35 +0000
committerZach van Rijn <me@zv.io>2024-12-06 19:22:37 +0000
commit57762abcbf59410fc77ac48a3027bdee08c9291f (patch)
tree089c78d5e2738f92acc7dd22fbc18daa53bfd480 /bootstrap/llvm18/i586-json-test.patch
parentcf1b9041544c3a70181778535ba310653593e9c3 (diff)
downloadpackages-57762abcbf59410fc77ac48a3027bdee08c9291f.tar.gz
packages-57762abcbf59410fc77ac48a3027bdee08c9291f.tar.bz2
packages-57762abcbf59410fc77ac48a3027bdee08c9291f.tar.xz
packages-57762abcbf59410fc77ac48a3027bdee08c9291f.zip
bootstrap/llvm18: replace symlink with files.
Note: default_llvm="no" Effectively reverts 1c7549b7bb4dcf1142d6c19876841ccc93fcafd5 since 'abuild' uses readlink to derive repository information. The user/llvm18 package is free to be updated independently.
Diffstat (limited to 'bootstrap/llvm18/i586-json-test.patch')
-rw-r--r--bootstrap/llvm18/i586-json-test.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/bootstrap/llvm18/i586-json-test.patch b/bootstrap/llvm18/i586-json-test.patch
new file mode 100644
index 000000000..e72763976
--- /dev/null
+++ b/bootstrap/llvm18/i586-json-test.patch
@@ -0,0 +1,19 @@
+--- llvm/unittests/Support/JSONTest.cpp.old 2024-06-15 12:21:32.000000000 -0500
++++ llvm/unittests/Support/JSONTest.cpp 2024-07-08 21:09:43.106973458 -0500
+@@ -313,6 +313,8 @@
+ 1.5,
+ },
+
++ // Broken by -fexcess-precision=fast.
++#ifndef __i586
+ {
+ "Integer, not exact double. Stored as int64, convertible.",
+ int64_t{0x4000000000000001},
+@@ -328,6 +330,7 @@
+ int64_t{-0x4000000000000001},
+ double{-0x4000000000000000},
+ },
++#endif
+
+ // PR46470,
+ // https://developercommunity.visualstudio.com/content/problem/1093399/incorrect-result-when-printing-6917529027641081856.html