[Patch] libstdc++/30416

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Jan 12 13:50:00 GMT 2007


Paolo Carlini <pcarlini@suse.de> writes:

| Gabriel Dos Reis wrote:
| 
| >We want the NRVO to apply.  So, we should return the same variable in
| >all return statements -- I know an implementation can be smarter than
| >that, but I don't know whether g++ has been improved (since the last
| >time I looked into its NRVO) to apply the optimization when different
| >expressions are used in the return statements.
| >
| No problem, I'm committing the below follow-up, tested x86-linux.

That is OK.  

| Thanks for your (slightly late ;) review!

I don't think I was late :-).  
You sent your mail at "Fri, 12 Jan 2007 01:19:48 +0100", saying that
you'll commit tomorrow; and we're still on friday.  Not mentioning
that at that time, I was still hundreds of miles away from home.

-- Gaby



More information about the Libstdc++ mailing list