re PR c++/3187 (gcc lays down two copies of constructors)
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. From-SVN: r154880
Showing
Please
register
or
sign in
to comment