Hi Jakub,
this is a minor update on top of yours that I just applied. Thanks
for taking the time to write this up.
Gerald
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.46
diff -u -r1.46 changes.html
--- changes.html 4 Oct 2011 19:07:01 -0000 1.46
+++ changes.html 9 Oct 2011 23:05:47 -0000
@@ -125,13 +125,13 @@
growth.</li>
</ul></li>
- <li>String length optimization pass has been added. This pass attempts
+ <li>A string length optimization pass has been added. It attempts
to track string lengths and optimize various standard C string functions
like <code>strlen</code>, <code>strchr</code>, <code>strcpy</code>,
<code>strcat</code>, <code>stpcpy</code> and their
<code>_FORTIFY_SOURCE</code> counterparts into faster alternatives.
This pass is enabled by default at <code>-O2</code> or above, unless
- optimizing for size, and can be disabled by
+ optimizing for size, and can be disabled by the
<code>-fno-optimize-strlen</code> option. The pass can e.g. optimize
<pre>
char *bar (const char *a)