C++ PATCH for c++/45822
Jason Merrill
jason@redhat.com
Wed Dec 8 19:59:00 GMT 2010
The problem here was that we were applying the special overload rules to
constructor calls for converting a default argument to the type of the
parameter; the special rules should only apply to the particular lookups
done for subobject ctor/op=, not for any calls generated.
Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 45822.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101208/43b27c89/attachment.ksh>
More information about the Gcc-patches
mailing list