[PATCH] D146148: Float_t and double_t types shouldn't be modified by #pragma clang fp eval_method
Zahira Ammarguellat via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 15 09:07:44 PDT 2023
zahiraam created this revision.
zahiraam added reviewers: andrew.w.kaylor, aaron.ballman.
Herald added a project: All.
zahiraam requested review of this revision.
Herald added a project: clang.
When float_t and double_t types are used inside a scope with potential ABI breakage. See https://godbolt.org/z/56zG4Wo91
This patch prevents this.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146148
Files:
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Parse/ParseStmt.cpp
clang/test/CodeGen/Inputs/math.h
clang/test/CodeGen/abi-check-1.c
clang/test/CodeGen/abi-check-2.c
clang/test/CodeGen/abi-check-3.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146148.505520.patch
Type: text/x-patch
Size: 9338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230315/90cdaa89/attachment.bin>
More information about the cfe-commits
mailing list