This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH]: Enable more temporary elision
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: Mark Mitchell <mitchell at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: 31 Jul 2003 16:42:02 -0700
- Subject: Re: [C++ PATCH]: Enable more temporary elision
- References: <3F27FFC3.80003@codesourcery.com>
On Wed, 2003-07-30 at 10:26, Nathan Sidwell wrote:
> Hi,
> this patch enables more temporaries to be elided by exposing target_exprs
> that are inside compound exprs.
Neat!
+ This keeps
+ the target expression exposed, and helps reduce
+ temporaries. */
I'd write this as "This helps the compiler to eliminate unncessary
temporaries." I'm not sure why, but I found your version a little
harder to understand.
Anyhow, patch OK; thanks!
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com