summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-04-27 16:21:22 +0000
committerSanjay Patel <spatel@rotateright.com>2018-04-27 16:21:22 +0000
commitcee47befe4c5d6e7fde5feee6f2a08afb53849a6 (patch)
tree25c97645966d836edea50141e6b32d6b07667a57
parent6b01b880129e8102e87b1302315f1a3f7b73a387 (diff)
downloadbcm5719-llvm-cee47befe4c5d6e7fde5feee6f2a08afb53849a6.tar.gz
bcm5719-llvm-cee47befe4c5d6e7fde5feee6f2a08afb53849a6.zip
[docs] add -ffp-cast-overflow-workaround to the release notes
This option was added with: D46135 rL331041 ...copying the text from UsersManual.rst for more exposure. llvm-svn: 331056
-rw-r--r--clang/docs/ReleaseNotes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index bed6d9c4602..366dcfef71b 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -83,6 +83,15 @@ Non-comprehensive list of changes in this release
New Compiler Flags
------------------
+- :option:`-ffp-cast-overflow-workaround` and
+ :option:`-fnofp-cast-overflow-workaround`
+ enable (disable) a workaround for code that casts floating-point values to
+ integers and back to floating-point. If the floating-point value is not
+ representable in the intermediate integer type, the code is incorrect
+ according to the language standard. This flag will attempt to generate code
+ as if the result of an overflowing conversion matches the overflowing behavior
+ of a target's native float-to-int conversion instructions.
+
- ...
Deprecated Compiler Flags
OpenPOWER on IntegriCloud