C++ PATCH for c++/48113 (SFINAE bug causing bind regression in libstdc++)
Jason Merrill
jason@redhat.com
Wed Mar 16 19:52:00 GMT 2011
convert_for_initialization is sfinae-enabled, but it was calling
ocp_convert, which is not. This patch changes it to use the newer
perform_implicit_conversion_flags instead. To make that work, I needed
to add support for LOOKUP_PREFER_RVALUE to that code path.
Tested x86_64-pc-linux-gnu, applying to trunk.
Also OK for 4.6.0? The risk is that swapping to
perform_implicit_conversion_flags will have other differences of
behavior, but the library regression seems pretty major, so I think it's
worth the risk.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 48113.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110316/d66f27cd/attachment.ksh>
More information about the Gcc-patches
mailing list