class.c (resolve_address_of_overloaded_function): Don't emit an inform if the matchin...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 16 Jul 2018 17:36:43 +0000 (17:36 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 16 Jul 2018 17:36:43 +0000 (17:36 +0000)
commit99422caabd1d46992de8e373f3131efe84e03bcc
treecf62dbc86063eab7deb46035983acf122527bfc7
parent20b47be02cc8a1bde28519b496a5acea5419c995
class.c (resolve_address_of_overloaded_function): Don't emit an inform if the matching permerror returns false.

/cp
2018-07-16  Paolo Carlini  <paolo.carlini@oracle.com>

* class.c (resolve_address_of_overloaded_function): Don't emit an
inform if the matching permerror returns false.
* pt.c (check_specialization_namespace): Likewise.

/testsuite
2018-07-16  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/template/spec40.C: New.
* g++.dg/parse/ptrmem8.C: Likewise.

From-SVN: r262740
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/ptrmem8.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/spec40.C [new file with mode: 0644]