Patchwork [wwwdocs] Mention work on array temporaries

login
register
mail settings
Submitter Thomas Koenig
Date Dec. 9, 2010, 8:48 p.m.
Message ID <1291927684.4016.26.camel@linux-fd1f.site>
Download mbox | patch
Permalink /patch/74966/
State New
Headers show

Comments

Thomas Koenig - Dec. 9, 2010, 8:48 p.m.
Hello world,

here is a patch for wwwdocs mentioning the improvements in array
temporaries.

If anybody has suggestions on improvements of the wording, I would
appreciate that.

OK?
Gerald Pfeifer - Dec. 14, 2010, 12:56 a.m.
On Thu, 9 Dec 2010, Thomas Koenig wrote:
> here is a patch for wwwdocs mentioning the improvements in array
> temporaries.

This looks good.  The one question I'll pose is "What's the benefit
for the user?"  Performance, presumably?

Gerald

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.73
diff -u -r1.73 changes.html
--- changes.html	27 Nov 2010 10:26:28 -0000	1.73
+++ changes.html	9 Dec 2010 19:14:43 -0000
@@ -254,6 +254,9 @@ 
     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>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