/gcc 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com> * typeck.c (cp_build_indirect_ref_1): Add location_t parameter and use it in error messages. (build_x_indirect_ref): Adjust call. (build_indirect_ref): Likewise. (cp_build_fold_indirect_ref): Likewise. (cp_build_array_ref): Likewise. * call.c (build_new_op_1): Likewise. * semantics.c (finish_omp_clauses): Likewise. (finish_omp_depobj): Likewise. * typeck2.c (build_x_arrow): Likewise. * cp-tree.h (cp_build_indirect_ref): Update declaration. * call.c (build_new_op_1): Use location argument in warning_at. * typeck.c (cp_build_modify_expr): Consistently use the location_t argument. /libcc1 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com> * libcp1plugin.cc (plugin_pragma_push_user_expression): Update cp_build_indirect_ref call. /gcc/testsuite 2019-11-25 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/diagnostic/base-operand-non-pointer-1.C: New. * g++.dg/pr53055.C: Check location too. * g++.old-deja/g++.bugs/900213_02.C: Likewise. * g++.old-deja/g++.bugs/900215_02.C: Likewise. * g++.old-deja/g++.other/badarrow.C: Likewise. * g++.old-deja/g++.other/deref1.C: Likewise. * g++.dg/warn/Wenum-compare.C: Check location too. * g++.dg/cpp0x/initlist26.C: Check location too. * g++.dg/cpp0x/initlist28.C: Likewise. * g++.dg/cpp0x/initlist29.C: Likewise. * g++.dg/cpp0x/initlist33.C: Likewise. * g++.dg/expr/string-2.C: Likewise. * g++.dg/other/ptrmem5.C: Likewise. * g++.old-deja/g++.benjamin/14664-1.C: Likewise. * g++.old-deja/g++.benjamin/14664-2.C: Likewise. * g++.old-deja/g++.brendan/init12.C: Likewise. * g++.old-deja/g++.bugs/900324_04.C: Likewise. * g++.old-deja/g++.ext/array1.C: Likewise. * g++.old-deja/g++.jason/rfg17.C: Likewise. From-SVN: r278685
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
13478.C | Loading commit data... | |
13523.C | Loading commit data... | |
13908.C | Loading commit data... | |
14139.C | Loading commit data... | |
14664-1.C | Loading commit data... | |
14664-2.C | Loading commit data... | |
14687.C | Loading commit data... | |
15054.C | Loading commit data... | |
15071.C | Loading commit data... | |
15756-1.C | Loading commit data... | |
15756-2.C | Loading commit data... | |
15799.C | Loading commit data... | |
15800-1.C | Loading commit data... | |
15800-2.C | Loading commit data... | |
15822.C | Loading commit data... | |
16077.C | Loading commit data... | |
16567.C | Loading commit data... | |
17922.C | Loading commit data... | |
17930.C | Loading commit data... | |
18208.C | Loading commit data... | |
bool01.C | Loading commit data... | |
bool02.C | Loading commit data... | |
friend01.C | Loading commit data... | |
friend02.C | Loading commit data... | |
p12475.C | Loading commit data... | |
p13417.C | Loading commit data... | |
p13721.C | Loading commit data... | |
scope01.C | Loading commit data... | |
scope02.C | Loading commit data... | |
tem01.C | Loading commit data... | |
tem02.C | Loading commit data... | |
tem03.C | Loading commit data... | |
tem04.C | Loading commit data... | |
tem05.C | Loading commit data... | |
tem06.C | Loading commit data... | |
tem07.C | Loading commit data... | |
typedef01.C | Loading commit data... | |
typedef03.C | Loading commit data... | |
typeid01.C | Loading commit data... | |
warn01.C | Loading commit data... | |
warn02.C | Loading commit data... | |
warn03.C | Loading commit data... | |
warn04.C | Loading commit data... |