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: [PATCH] Fix part of pr25505


Josh Conner wrote on 09/01/06 12:29:

> Where should I go from here?
> 
After thinking a bit more about it, I think your patch should be safe.
The cases it does handle are clearly valid and you are right about
readibility.

> 2006-09-01  Josh Conner  <jconner@apple.com>
> 
> 	PR c++/25505
> 	* tree-nrv.c (dest_safe_for_nrv_p): New function.
> 	(execute_return_slot_opt): Use it.
> 
> 2006-09-01  Josh Conner  <jconner@apple.com>
> 
> 	PR c++/25505
> 	gcc.dg/nrv3.c: New test.
> 	gcc.dg/nrv4.c: New test.
> 	gcc.dg/nrv5.c: New test.
> 
OK.


What happened to the gimplifier change?  Did you commit that already?
If not, go ahead.


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