Re: [C++ Patch] PR 21682 (DR 565) (Take 2)

2013-09-01 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 21682 (DR 565) (Take 2)

2013-09-01 Thread Paolo Carlini
Hi again, ... thus Take 2: the extended comparison per DR 565 must be used in push_overloaded_decl_1 too, in order to handle correctly the case of an using decl *followed* by a decl. I added a testcase too. Again booted and tested x86_64-linux. Thanks, Paolo. // /cp 2013

Re: [C++ Patch] PR 21682 (DR 565)

2013-09-01 Thread Paolo Carlini
.. consider this withdrawn, I have to fix another very similar check elsewhere. Paolo.

[C++ Patch] PR 21682 (DR 565)

2013-09-01 Thread Paolo Carlini
Hi, this patch resolves the bug by implementing the resolution of DR 565 (DRWP): for template functions, in order to establish that the program is ill-formed we want to check return type and template parameter list too. Thus, in practice, we want to accept the reduced testcase which came with