/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 |
|---|---|---|
| .. | ||
| alias1.C | Loading commit data... | |
| alias2.C | Loading commit data... | |
| alias3.C | Loading commit data... | |
| alias4.C | Loading commit data... | |
| alias6.C | Loading commit data... | |
| alias7.C | Loading commit data... | |
| anon1.C | Loading commit data... | |
| bogus1.C | Loading commit data... | |
| crash1.C | Loading commit data... | |
| crash2.C | Loading commit data... | |
| crash3.C | Loading commit data... | |
| crash4.C | Loading commit data... | |
| extern1.C | Loading commit data... | |
| friend1.C | Loading commit data... | |
| friend2.C | Loading commit data... | |
| invalid1.C | Loading commit data... | |
| koenig1.C | Loading commit data... | |
| koenig2.C | Loading commit data... | |
| koenig3.C | Loading commit data... | |
| koenig4.C | Loading commit data... | |
| koenig5.C | Loading commit data... | |
| koenig6.C | Loading commit data... | |
| koenig7.C | Loading commit data... | |
| koenig8.C | Loading commit data... | |
| koenig9.C | Loading commit data... | |
| lookup1.C | Loading commit data... | |
| lookup2.C | Loading commit data... | |
| lookup3.C | Loading commit data... | |
| lookup4.C | Loading commit data... | |
| lookup5.C | Loading commit data... | |
| main1.C | Loading commit data... | |
| ns1.C | Loading commit data... | |
| ns10.C | Loading commit data... | |
| ns11.C | Loading commit data... | |
| ns12.C | Loading commit data... | |
| ns13.C | Loading commit data... | |
| ns14.C | Loading commit data... | |
| ns15.C | Loading commit data... | |
| ns16.C | Loading commit data... | |
| ns17.C | Loading commit data... | |
| ns18.C | Loading commit data... | |
| ns19.C | Loading commit data... | |
| ns2.C | Loading commit data... | |
| ns3.C | Loading commit data... | |
| ns4.C | Loading commit data... | |
| ns5.C | Loading commit data... | |
| ns6.C | Loading commit data... | |
| ns7.C | Loading commit data... | |
| ns8.C | Loading commit data... | |
| ns9.C | Loading commit data... | |
| overload1.C | Loading commit data... | |
| overload2.C | Loading commit data... | |
| overload3.C | Loading commit data... | |
| overload4.C | Loading commit data... | |
| overload5.C | Loading commit data... | |
| scoped1.C | Loading commit data... | |
| template1.C | Loading commit data... | |
| template10.C | Loading commit data... | |
| template11.C | Loading commit data... | |
| template12.C | Loading commit data... | |
| template13.C | Loading commit data... | |
| template14.C | Loading commit data... | |
| template15.C | Loading commit data... | |
| template16.C | Loading commit data... | |
| template17.C | Loading commit data... | |
| template18.C | Loading commit data... | |
| template2.C | Loading commit data... | |
| template3.C | Loading commit data... | |
| template4.C | Loading commit data... | |
| template5.C | Loading commit data... | |
| template6.C | Loading commit data... | |
| template7.C | Loading commit data... | |
| template8.C | Loading commit data... | |
| template9.C | Loading commit data... | |
| type1.C | Loading commit data... | |
| type2.C | Loading commit data... | |
| undef1.C | Loading commit data... | |
| using1.C | Loading commit data... | |
| using10.C | Loading commit data... | |
| using11.C | Loading commit data... | |
| using12.C | Loading commit data... | |
| using13.C | Loading commit data... | |
| using14.C | Loading commit data... | |
| using2.C | Loading commit data... | |
| using3.C | Loading commit data... | |
| using4.C | Loading commit data... | |
| using5.C | Loading commit data... | |
| using6.C | Loading commit data... | |
| using7.C | Loading commit data... | |
| using8.C | Loading commit data... | |
| using9.C | Loading commit data... |