This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH]: Enable more temporary elision


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]