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]

[C++ Patch/RFC] PR 60608


Hi,

I have been looking a bit into this bug, using a reduced testcase which simplifies the debugging quite a bit for me (a non-variadic variant is ok). I cannot say to already understand all the details of the issue, but something which strikes me as interesting, is that the DEDUCE_CALL passed down by add_candidate gets lost and we end up calling type_unification_real from unify with DEDUCE_EXACT. If I change it to an unconditional DEDUCE_CALL, the testcase is accepted and the testsuite passes with no regressions. Is that all there is to the issue?!?

Thanks!
Paolo.

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

Attachment: patch_draft_60608
Description: Text document


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