Core issues 2273 and 2277
commit4cdeb2343a2203ee64c7d13ff5b36187f727b0b4
authorJason Merrill <jason@redhat.com>
Sat, 4 Mar 2017 08:12:28 +0000 (4 03:12 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 4 Mar 2017 08:12:28 +0000 (4 03:12 -0500)
tree986b2a7d75494d0b9083a3b87c32c2603a782e3e
parentea6c757a1c7da68e715db5086ff564f3ef0c2724
Core issues 2273 and 2277

* call.c (joust): Adjust using-declaration tiebreaker to handle
the intermediate base case.
* method.c (strip_inheriting_ctors): Just return the argument if
!flag_new_inheriting_ctors.

From-SVN: r245892
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/method.c
gcc/testsuite/g++.dg/overload/using5.C [new file with mode: 0644]