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]

Re: [C++ PATCH] Fix bug 2608, a regression


>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:

> Unfortunately, we use clones directly in overload resolution.

This is unfortunate.  Rather than call the clones by special names, we
ought to continue calling the constructor the old way, and have the clones
selected automatically based on the value of the in_charge argument.  This
is how a more general, optimization-driven cloning mechanism will need to
work.  But changing this is far from urgent.

Jason


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