llvm.org GIT mirror llvm / 4f6e104
Release notes: fix -fno-strict-float-cast-overflow quoting git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@338724 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 1 year, 2 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6464 results for code that is relying on the undefined behavior of overflowing
6565 casts. The optimization can be disabled by specifying a function attribute:
6666 "strict-float-cast-overflow"="false". This attribute may be created by the
67 clang option :option:`-fno-strict-float-cast-overflow`.
67 clang option ``-fno-strict-float-cast-overflow``.
6868 Code sanitizers can be used to detect affected patterns. The option for
6969 detecting this problem alone is "-fsanitize=float-cast-overflow":
7070