Patchwork [wwwdocs] Mention work on array temporaries

login
register
mail settings
Submitter Thomas Koenig
Date Dec. 18, 2010, 11:47 a.m.
Message ID <1292672849.4834.4.camel@linux-fd1f.site>
Download mbox | patch
Permalink /patch/76062/
State New
Headers show

Comments

Thomas Koenig - Dec. 18, 2010, 11:47 a.m.
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.

Patch

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