This is the mail archive of the gcc-cvs@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]

r132257 - in /trunk/gcc: cp/ChangeLog cp/init.c...


Author: jakub
Date: Tue Feb 12 16:25:47 2008
New Revision: 132257

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132257
Log:
	PR c++/34862
	* init.c (build_new_1): Don't create placement_expr before
	constructing alloc_call.  Verify that the pointer is passed by
	value to operator new.

	* g++.dg/init/new27.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/init/new27.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog


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