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

Re: [PATCH] Use aliases instead of separate copies for !DECL_ONE_ONLY C[12] ctors or D[12] dtors with identical bodies (PR c++/3187, take 3)


On 11/16/2009 12:41 PM, Jakub Jelinek wrote:
+    else if (DECL_NAME (clone) == deleting_dtor_identifier)
+      fns[2] = clone;

Why did you add the third slot to fns?


also making the complete
cdtor to be the defined function and base cdtor be an alias to it.

I think I prefer having the base cdtor be the defined one, since it's conceptually a subroutine of the complete cdtor.


Jason


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