r269318 - in /trunk/gcc: cp/ChangeLog cp/call.c...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Fri Mar 1 15:57:00 GMT 2019


Author: mpolacek
Date: Fri Mar  1 15:57:46 2019
New Revision: 269318

URL: https://gcc.gnu.org/viewcvs?rev=269318&root=gcc&view=rev
Log:
	PR c++/89537 - missing location for error with non-static member fn.
	* call.c (resolve_args): Use EXPR_LOCATION.
	* typeck.c (build_class_member_access_expr): Use input_location.

	* g++.dg/diagnostic/member-fn-1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/member-fn-1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list