Re: [C++ Patch] PR 15339

2014-08-02 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 15339

2014-08-01 Thread Paolo Carlini
... the below seems better to me: 1- FUNCTION_DECLs and TEMPLATE_DECLs are handled in their own places. 2- When I tweaked default3.C I didn't notice at first the real reason for the existing xfail: in such case we didn't give the check_default_args diagnostics. Restored in the below. 3- By handl

[C++ Patch] PR 15339

2014-08-01 Thread Paolo Carlini
Hi, thus this is what I have tested for c++/15339. By the way, I figured out why yesterday I got stupidly confused about DECL_TEMPLATE_INFO: at this point, for a member function template, newdecl does *not* have DECL_TEMPLATE_INFO set, only olddecl does. Consistently, I adjusted all the code