[clang] [clang][ARM] Fix warning for using VFP from interrupts. (PR #91870)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 26 05:13:44 PDT 2024
================
@@ -448,6 +448,11 @@ Modified Compiler Flags
evaluating to ``true`` and an empty body such as ``while(1);``)
are considered infinite, even when the ``-ffinite-loop`` flag is set.
+- Removed "arm interrupt calling convention" warning that was included in
+ ``-Wextra`` without its own flag.
+
+- Added ``-Warm-interrupt-vfp-clobber``, with its own warning group.
----------------
DavidSpickett wrote:
We should be very clear whether this warning is serving the same function as the one that was removed, or not.
If it is, perhaps it is better to merge the two points so it is clear one is replaced by the other. If not, perhaps you can include a sentence for each like "that would be emitted when..." - "that will be emitted when..." that shows the purpose of each one.
(I know this is in the help, but we can save interested parties a round trip here)
https://github.com/llvm/llvm-project/pull/91870
More information about the cfe-commits
mailing list