Patchwork [wwwdocs] Mention work on array temporaries

mail settings
Submitter Thomas Koenig
Date Dec. 18, 2010, 11:47 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/76062/
State New
Headers show


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!


2010-12-18  Thomas Koenig  <>

        * 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
     <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
     <li>The <code>-fwhole-file</code> flag is now enabled by default. This