C++ PATCH for c++/50157 (hard error in SFINAE situation)
Jason Merrill
jason@redhat.com
Thu Aug 25 19:02:00 GMT 2011
We weren't protecting all errors in convert_like_real with a complain
check. So this patch adds one at the top of the file to handle all
bad_p cases. The second patch then removes various checks in the rest
of the function that are now redundant.
Tested x86_64-pc-linux-gnu, applying to trunk. Also applying the first
patch to 4.6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 50157.patch
Type: text/x-patch
Size: 6109 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110825/e4481640/attachment.bin>
More information about the Gcc-patches
mailing list