Re: [C++ Patch] PR 57419

2013-06-03 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 57419

2013-06-03 Thread Paolo Carlini
On 06/03/2013 07:55 PM, Jason Merrill wrote: Now that we're using C++, I'm inclined to give the sfinae version the same name. Indeed. I'm finishing testing the below, then. Thanks, Paolo. /// /gcc/cp 2013-06-03 Paolo Carlini PR c++/57419 * decl2.c (mark_used

Re: [C++ Patch] PR 57419

2013-06-03 Thread Jason Merrill
Now that we're using C++, I'm inclined to give the sfinae version the same name. Jason

[C++ Patch] PR 57419

2013-06-03 Thread Paolo Carlini
Hi, in this SFINAE issue, finish_qualified_id_expr is called with complain == 0 and calls mark_used, which has naked error calls. The straightforward fix works well. I'm also taking the occasion to change an error to inform (then some testcases must be adjusted). Tested x86_64-linux. Thanks