summaryrefslogtreecommitdiff
path: root/user/llvm18/i586-json-test.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-07-06 20:37:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:22 -0500
commite2ec142d7bfd9f2465c62900a03e3accf4adf572 (patch)
treee1f4499d59088adf1da20797fb9f260c2e87bf05 /user/llvm18/i586-json-test.patch
parentc5c08854322efc2aea8f8bcf51a544976fd86a12 (diff)
downloadpackages-e2ec142d7bfd9f2465c62900a03e3accf4adf572.tar.gz
packages-e2ec142d7bfd9f2465c62900a03e3accf4adf572.tar.bz2
packages-e2ec142d7bfd9f2465c62900a03e3accf4adf572.tar.xz
packages-e2ec142d7bfd9f2465c62900a03e3accf4adf572.zip
user/llvm18: New package
Diffstat (limited to 'user/llvm18/i586-json-test.patch')
-rw-r--r--user/llvm18/i586-json-test.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/user/llvm18/i586-json-test.patch b/user/llvm18/i586-json-test.patch
new file mode 100644
index 000000000..e72763976
--- /dev/null
+++ b/user/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