[PATCH][www] Document -fno-strict-overflow changes (GCC 8)
Richard Biener
rguenther@suse.de
Tue May 2 13:08:00 GMT 2017
Doing this early so I won't forget. Wording can be improved.
Committed.
Richard.
2017-05-02 Richard Biener <rguenther@suse.de>
* changes.html (-fno-strict-overflow): Document changes.
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.2
diff -u -r1.2 changes.html
--- changes.html 12 Mar 2017 14:25:34 -0000 1.2
+++ changes.html 2 May 2017 12:57:58 -0000
@@ -50,7 +50,11 @@
<h3 id="c-family">C family</h3>
<ul>
- <li></li>
+ <li><code>-fno-strict-overflow</code> is now mapped to
+ <code>-fwrapv</code> and signed integer overflow is now undefined by
+ default at all optimization levels. Using
+ <code>-fsanitize=signed-integer-overflow</code> is now the preferred
+ way to audit code, <code>-Wstrict-overflow</code> is deprecated.</li>
</ul>
<h3 id="cxx">C++</h3>
@@ -150,11 +154,11 @@
<!-- .................................................................. -->
-<!-- <h2><a name="7.1">GCC 7.1</a></h2>
+<!-- <h2><a name="8.2">GCC 8.2</a></h2>
-<p>This is the <a href="https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=7.1">list
+<p>This is the <a href="https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=8.2">list
of problem reports (PRs)</a> from GCC's bug tracking system that are
-known to be fixed in the 7.1 release. This list might not be
+known to be fixed in the 8.2 release. This list might not be
complete (that is, it is possible that some PRs that have been fixed
are not listed here).</p>
-->
More information about the Gcc-patches
mailing list