From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23783 invoked by alias); 18 Dec 2010 11:47:41 -0000 Received: (qmail 23768 invoked by uid 22791); 18 Dec 2010 11:47:41 -0000 X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cc-smtpout1.netcologne.de (HELO cc-smtpout1.netcologne.de) (89.1.8.211) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Dec 2010 11:47:34 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id CC3B8121E0; Sat, 18 Dec 2010 12:47:31 +0100 (CET) Received: from [192.168.0.197] (xdsl-78-35-183-163.netcologne.de [78.35.183.163]) by cc-smtpin1.netcologne.de (Postfix) with ESMTPA id AB20D11E8F; Sat, 18 Dec 2010 12:47:29 +0100 (CET) Subject: Re: [patch, wwwdocs] Mention work on array temporaries From: Thomas Koenig To: Gerald Pfeifer Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org In-Reply-To: References: <1291927684.4016.26.camel@linux-fd1f.site> Content-Type: multipart/mixed; boundary="=-j/PvtkwrSztQgTc57lTX" Date: Sat, 18 Dec 2010 13:34:00 -0000 Message-ID: <1292672849.4834.4.camel@linux-fd1f.site> Mime-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg01456.txt.bz2 --=-j/PvtkwrSztQgTc57lTX Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Content-length: 326 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 * changes.html: Mention work on reducing array temporaries. --=-j/PvtkwrSztQgTc57lTX Content-Disposition: attachment; filename="temporaries-2.diff" Content-Type: text/x-patch; name="temporaries-2.diff"; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Content-length: 919 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 REAL(16) in hardware nor those which do not support libquadmath.
  • Much improved compile time for large array constructors.
  • +
  • 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.
  • Improved diagnostics, especially with -fwhole-file.
  • The -fwhole-file flag is now enabled by default. This --=-j/PvtkwrSztQgTc57lTX--