[PATCH] D98895: [X86][Draft] Disable long double type for -mno-x87 option
Pengfei Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 18 22:43:26 PDT 2021
pengfei added inline comments.
================
Comment at: clang/test/Sema/x86-no-x87.c:48-61
+void assign2() {
+ struct st_long_double st;
+#ifndef NOERROR
+ // expected-error at +2{{long double is not supported on this target}}
+#endif
+ st.ld = 0.42;
+}
----------------
These seems pass with GCC. https://godbolt.org/z/qM4nWhThx
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98895/new/
https://reviews.llvm.org/D98895
More information about the cfe-commits
mailing list