C++ PATCH to build_user_type_conversion_1
Jason Merrill
jason@redhat.com
Tue Dec 3 09:29:00 GMT 2002
We were incorrectly treating an ambiguous conversion as worse than other
user-defined conversions. Test in g++.dg/overload/ambig1.C.
Tested i686-pc-linux-gnu, applied to trunk.
2002-12-02 Jason Merrill <jason@redhat.com>
* call.c (build_user_type_conversion_1): Don't set ICS_BAD_FLAG on
an ambiguous conversion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 4784 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20021203/e051c427/attachment.bin>
More information about the Gcc-patches
mailing list