/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 |
|---|---|---|
| .. | ||
| ChangeLog | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| callbacks.cc | Loading commit data... | |
| callbacks.hh | Loading commit data... | |
| cc1plugin-config.h.in | Loading commit data... | |
| compiler-name.hh | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| connection.cc | Loading commit data... | |
| connection.hh | Loading commit data... | |
| findcomp.cc | Loading commit data... | |
| findcomp.hh | Loading commit data... | |
| libcc1.cc | Loading commit data... | |
| libcc1.sym | Loading commit data... | |
| libcc1plugin.cc | Loading commit data... | |
| libcc1plugin.sym | Loading commit data... | |
| libcp1.cc | Loading commit data... | |
| libcp1plugin.cc | Loading commit data... | |
| libcp1plugin.sym | Loading commit data... | |
| marshall-c.hh | Loading commit data... | |
| marshall-cp.hh | Loading commit data... | |
| marshall.cc | Loading commit data... | |
| marshall.hh | Loading commit data... | |
| names.cc | Loading commit data... | |
| names.hh | Loading commit data... | |
| rpc.hh | Loading commit data... | |
| status.hh | Loading commit data... |