/cp 2016-05-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71238 * lex.c (unqualified_name_lookup_error): Take a location too. (unqualified_fn_lookup_error): Take a cp_expr. * cp-tree.h (unqualified_name_lookup_error, unqualified_fn_lookup_error): Adjust declarations. * semantics.c (perform_koenig_lookup): Adjust unqualified_fn_lookup_error call, pass the location of the identifier too as part of a cp_expr. /testsuite 2016-05-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71238 * g++.dg/parse/pr71238.C: New. * g++.dg/concepts/friend1.C: Test column numbers too. * g++.dg/cpp0x/initlist31.C: Likewise. * g++.dg/cpp0x/pr51420.C: Likewise. * g++.dg/cpp0x/udlit-declare-neg.C: Likewise. * g++.dg/cpp0x/udlit-member-neg.C: Likewise. * g++.dg/ext/builtin3.C: Likewise. * g++.dg/lookup/friend12.C: Likewise. * g++.dg/lookup/friend7.C: Likewise. * g++.dg/lookup/koenig1.C: Likewise. * g++.dg/lookup/koenig5.C: Likewise. * g++.dg/lookup/used-before-declaration.C: Likewise. * g++.dg/overload/koenig1.C: Likewise. * g++.dg/template/crash65.C: Likewise. * g++.dg/template/friend57.C: Likewise. * g++.dg/warn/Wshadow-5.C: Likewise. * g++.dg/warn/Wunused-8.C: Likewise. * g++.old-deja/g++.bugs/900211_01.C: Likewise. * g++.old-deja/g++.jason/lineno5.C: Likewise. * g++.old-deja/g++.jason/member.C: Likewise. * g++.old-deja/g++.jason/report.C: Likewise. * g++.old-deja/g++.jason/scoping12.C: Likewise. * g++.old-deja/g++.law/visibility20.C: Likewise. * g++.old-deja/g++.ns/koenig5.C: Likewise. * g++.old-deja/g++.other/static5.C: Likewise. * g++.old-deja/g++.pt/overload2.C: Likewise. From-SVN: r236896
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
VLA.C | Loading commit data... | |
addr1.C | Loading commit data... | |
addr2.C | Loading commit data... | |
ambig1.C | Loading commit data... | |
ambig2.C | Loading commit data... | |
arg1.C | Loading commit data... | |
arg2.C | Loading commit data... | |
arg3.C | Loading commit data... | |
arg4.C | Loading commit data... | |
arg5.C | Loading commit data... | |
autoptr1.C | Loading commit data... | |
builtin1.C | Loading commit data... | |
builtin2.C | Loading commit data... | |
builtin3.C | Loading commit data... | |
cond1.C | Loading commit data... | |
cond2.C | Loading commit data... | |
conv-op1.C | Loading commit data... | |
copy1.C | Loading commit data... | |
defarg1.C | Loading commit data... | |
defarg10.C | Loading commit data... | |
defarg2.C | Loading commit data... | |
defarg3.C | Loading commit data... | |
defarg4.C | Loading commit data... | |
defarg5.C | Loading commit data... | |
defarg6.C | Loading commit data... | |
defarg7.C | Loading commit data... | |
defarg8.C | Loading commit data... | |
defarg9.C | Loading commit data... | |
ellipsis1.C | Loading commit data... | |
ellipsis2.C | Loading commit data... | |
ellipsis3.C | Loading commit data... | |
error1.C | Loading commit data... | |
error2.C | Loading commit data... | |
error3.C | Loading commit data... | |
extern-C-1.C | Loading commit data... | |
extern-C-2.C | Loading commit data... | |
koenig1.C | Loading commit data... | |
koenig2.C | Loading commit data... | |
member1.C | Loading commit data... | |
member2.C | Loading commit data... | |
new1.C | Loading commit data... | |
operator-star-1.C | Loading commit data... | |
operator1.C | Loading commit data... | |
operator2.C | Loading commit data... | |
operator3.C | Loading commit data... | |
operator4.C | Loading commit data... | |
operator5.C | Loading commit data... | |
operator6.C | Loading commit data... | |
pmf1.C | Loading commit data... | |
pmf2.C | Loading commit data... | |
pmf3.C | Loading commit data... | |
prom1.C | Loading commit data... | |
ref-conv1.C | Loading commit data... | |
ref-conv2.C | Loading commit data... | |
ref1.C | Loading commit data... | |
reftemp1.C | Loading commit data... | |
reftemp2.C | Loading commit data... | |
rvalue1.C | Loading commit data... | |
rvalue2.C | Loading commit data... | |
rvalue3.C | Loading commit data... | |
scope1.C | Loading commit data... | |
template1.C | Loading commit data... | |
template2.C | Loading commit data... | |
template3.C | Loading commit data... | |
template4.C | Loading commit data... | |
template5.C | Loading commit data... | |
unknown1.C | Loading commit data... | |
using1.C | Loading commit data... | |
using2.C | Loading commit data... | |
using3.C | Loading commit data... | |
virtual1.C | Loading commit data... | |
virtual2.C | Loading commit data... | |
volatile1.C | Loading commit data... |