This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, wwwdocs] Mention work on array temporaries
Hello Gerald,
> This looks good. The one question I'll pose is "What's the benefit
> for the user?" Performance, presumably?
here's what I committed, taking your remark into account. Thanks!
Thomas
2010-12-18 Thomas Koenig <tkoenig@gcc.gnu.org>
* changes.html: Mention work on reducing array temporaries.
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.77
diff -u -r1.77 changes.html
--- changes.html 15 Dec 2010 23:15:06 -0000 1.77
+++ changes.html 18 Dec 2010 11:44:55 -0000
@@ -254,6 +254,10 @@
support <code>REAL(16)</code> in hardware nor those which do not support
<code>libquadmath</code>.</li>
<li>Much improved compile time for large array constructors.</li>
+ <li>In order to reduce execution time and memory usage, use of
+ temporary arrays in assignment expressions is avoided for
+ many cases. The compiler now reverses loops in order to avoid
+ generating a temporary array where possible.</li>
<li>Improved diagnostics, especially with
<code>-fwhole-file</code>.</li>
<li>The <code>-fwhole-file</code> flag is now enabled by default. This