[C++ Patch/RFC] PR 60608

2014-07-14 Thread Paolo Carlini
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

Re: [C++ Patch/RFC] PR 60608

2014-07-14 Thread Jason Merrill
On 07/14/2014 12:20 PM, Paolo Carlini wrote: 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

Re: [C++ Patch/RFC] PR 60608

2014-07-14 Thread Paolo Carlini
Hi, On 07/14/2014 09:47 PM, Jason Merrill wrote: On 07/14/2014 12:20 PM, Paolo Carlini wrote: 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

Re: [C++ Patch/RFC] PR 60608

2014-07-14 Thread Jason Merrill
On 07/14/2014 05:12 PM, Paolo Carlini wrote: Thanks. This helps me a lot. In particular I see now, in tsubst_arg_types: /* Do array-to-pointer, function-to-pointer conversion, and ignore top-level qualifiers as required. */ type = cv_unqualified (type_decays_to (type));