r182444 - in /branches/google/gcc-4_6: gcc/Chan...

eraman@gcc.gnu.org eraman@gcc.gnu.org
Sat Dec 17 21:08:00 GMT 2011


Author: eraman
Date: Sat Dec 17 21:08:11 2011
New Revision: 182444

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182444
Log:
2011-12-17  Easwaran Raman  <eraman@google.com>
	Backport r182443 from google/main.

	2011-12-17   Easwaran Raman  <eraman@google.com>

		* common.opt (fsized-delete): New option.

2011-12-17  Easwaran Raman  <eraman@google.com>
	Backport r182443 from google/main.

	2011-12-17   Easwaran Raman  <eraman@google.com>
	
		* decl.c (cxx_init_decl_processing): Specify a function that
		  takes a void* and size_t for DELETE_EXPR.
		* call.c (build_op_delete_call): If fsized-delete is used, use
		  the variant that takes size_t as the second parameter except
		  when deleteting a pointer of type void *.

2011-12-17  Easwaran Raman  <eraman@google.com>
	Backport r182443 from google/main.

	2011-12-17   Easwaran Raman  <eraman@google.com>
	
		* g++.dg/other/sized-delete-1.C: New test.

2011-12-17  Easwaran Raman  <eraman@google.com>
	Backport r182443 from google/main.

	2011-12-17   Easwaran Raman  <eraman@google.com>
	
		* libsupc++/del_op.cc (delete): Define a new variant
		  void operator delete(void*, std::size_t).
		* libsupc++/new (delete): Declare
		  void operator delete(void*, std::size_t) throw();
		* testsuite/util/testsuite_abi.cc (check_version): Add new
		  known version GLIBCXX_3.4.18.
		* config/abi/pre/gnu.ver: Add new symbol _ZdlPv[jmy] at version
		  GLIBCXX_3.4.18.



Modified:
    branches/google/gcc-4_6/libstdc++-v3/ChangeLog.google-4_6
    branches/google/gcc-4_6/libstdc++-v3/config/abi/pre/gnu.ver
    branches/google/gcc-4_6/libstdc++-v3/libsupc++/del_op.cc
    branches/google/gcc-4_6/libstdc++-v3/libsupc++/new
    branches/google/gcc-4_6/libstdc++-v3/testsuite/util/testsuite_abi.cc

Changes in other areas also in this revision:
Added:
    branches/google/gcc-4_6/gcc/testsuite/g++.dg/other/sized-delete-1.C
Modified:
    branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/common.opt
    branches/google/gcc-4_6/gcc/cp/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/cp/call.c
    branches/google/gcc-4_6/gcc/cp/decl.c
    branches/google/gcc-4_6/gcc/testsuite/ChangeLog.google-4_6



More information about the Libstdc++-cvs mailing list