r260979 - in /trunk/gcc: cp/ChangeLog cp/call.c...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed May 30 23:13:00 GMT 2018
Author: redi
Date: Wed May 30 23:13:48 2018
New Revision: 260979
URL: https://gcc.gnu.org/viewcvs?rev=260979&root=gcc&view=rev
Log:
PR c++/77777 improve location for diagnostic
Pass in the location of the invalid expression, not the next input
location (which might be a comma or closing parenthesis on a different
line).
gcc/cp:
PR c++/77777
* call.c (resolve_args): Use location of expression, not current input
location.
gcc/testsuite:
PR c++/77777
* g++.dg/diagnostic/pr77777.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/diagnostic/pr77777.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list