r278492 - in /branches/gcc-9-branch/gcc: cp/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Nov 20 09:55:00 GMT 2019


Author: jakub
Date: Wed Nov 20 09:55:56 2019
New Revision: 278492

URL: https://gcc.gnu.org/viewcvs?rev=278492&root=gcc&view=rev
Log:
	PR c++/90767
	* call.c (complain_about_no_candidates_for_method_call): If
	conv->from is not a type, pass to complain_about_bad_argument
	lvalue_type of conv->from.

	* g++.dg/diagnostic/pr90767-1.C: New test.
	* g++.dg/diagnostic/pr90767-2.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/diagnostic/pr90767-1.C
    branches/gcc-9-branch/gcc/testsuite/g++.dg/diagnostic/pr90767-2.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/call.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list