[PATCH] D93395: [clang][cli] Remove -f[no-]trapping-math from -cc1 command line

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 06:45:22 PST 2020


jansvoboda11 created this revision.
jansvoboda11 added reviewers: Bigcheese, dexonsmith.
Herald added a subscriber: dang.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch removes the `-f[no-]trapping-math` flags from the `-cc1` command line. They are currently ignored in the command line parser anyways.

This does not remove `-f[no-]trapping-math` from the driver command line. The driver flags are being used and affect the compilation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93395

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/fpconstrained.c
  clang/test/CodeGen/fpconstrained.cpp
  clang/test/CodeGen/noexceptionsfpmath.c
  clang/test/CodeGenCUDA/propagate-metadata.cu
  clang/test/Driver/fast-math.c
  clang/test/Driver/fp-model.c
  clang/test/Parser/fp-floatcontrol-syntax.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93395.312198.patch
Type: text/x-patch
Size: 10690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201216/19b4c698/attachment-0001.bin>


More information about the cfe-commits mailing list