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]
Other format: [Raw text]

Re: [C++ Patch] PR 52363


Hi,
On 04/18/2012 08:30 PM, Paolo Carlini wrote:
Thus, it seems to me that with above change it's just that we don't have
any hope of fixing latent SFINAE bugs in turney called by
build_user_type_conversion_1 per the above. And, at this time, we don't
have any evidence of such bugs.

We've just been dealing with SFINAE bugs in tourney; I would expect that they can also occur for conversions using a single-argument constructor.
Ok...
I think you're right that we should just pass complain through build_user_type_conversion_1. Looking at the patch, I think we need to pass it through implicit_conversion and reference_binding as well.
No big deal, here is a patch extending my last posted version to implicit_conversion and reference_binding. Booted and tested x86_64-linux.

Thanks!
Paolo.

/////////////////////

Attachment: CL_52363_4
Description: Text document

Attachment: patch_52363_4
Description: Text document


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