[C++ PATCH] Placement new fix (PR c++/33025, regression caused by PR libstdc++/29286)

Mark Mitchell mark@codesourcery.com
Thu Aug 16 23:39:00 GMT 2007


Jakub Jelinek wrote:

> 2007-08-16  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c++/33025
> 	* init.c (build_new_1): Rename placement_var variable to placement_expr.
> 	Initialize it with save_expr rather than get_temp_regvar.
> 
> 	* g++.dg/init/new23.C: New test.

OK, thanks!

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list