r154880 - in /trunk/gcc/cp: ChangeLog optimize.c
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Dec 1 20:09:00 GMT 2009
Author: jakub
Date: Tue Dec 1 20:09:37 2009
New Revision: 154880
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154880
Log:
PR c++/3187
* optimize.c (cdtor_comdat_group): New function.
(maybe_clone_body): Also optimize DECL_COMDAT base/complete cdtors
and in that case put also the deleting dtor in the same comdat group
as base and complete dtor if dtor is virtual.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/optimize.c
More information about the Gcc-cvs
mailing list