[PATCH wwwdocs] document -Warray-bounds in gcc-4.3/changes.html
Dirk Mueller
dmueller@suse.de
Thu Jan 18 16:23:00 GMT 2007
Hi,
Is this okay to commit? There is no ChangeLog file for wwwdocs, right?
2007-01-18 Dirk Mueller <dmueller@suse.de>
* htdocs/gcc-4.3/changes.html: document -Warray-bounds
Index: htdocs/gcc-4.3/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.22
diff -u -3 -d -p -r1.22 changes.html
--- htdocs/gcc-4.3/changes.html 18 Jan 2007 09:34:58 -0000 1.22
+++ htdocs/gcc-4.3/changes.html 18 Jan 2007 16:18:29 -0000
@@ -107,6 +107,13 @@
This flag is intended only as a compatibility measure and should not
be used for new code.
</li>
+ <li>
+ <code>-Warray-bounds</code> has been added and is now enabled by
+ default for <code>-Wall</code> . It produces warnings for array
+ subscripts that can be determined at compile time to be always
+ out of bounds. <code>-Wno-array-bounds</code> will disable the
+ warning.
+ </li>
</ul>
<h3>C++</h3>
More information about the Gcc-patches
mailing list