/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 |
|---|---|---|
| .. | ||
| addrfunc1.C | Loading commit data... | |
| addrfunc2.C | Loading commit data... | |
| addrfunc3.C | Loading commit data... | |
| addrfunc4.C | Loading commit data... | |
| anon1.C | Loading commit data... | |
| anon2.C | Loading commit data... | |
| anon3.C | Loading commit data... | |
| array1.C | Loading commit data... | |
| array2.C | Loading commit data... | |
| array3.C | Loading commit data... | |
| array4.C | Loading commit data... | |
| arrnew.C | Loading commit data... | |
| arrnew2.C | Loading commit data... | |
| asmspec1.C | Loading commit data... | |
| attrib1.C | Loading commit data... | |
| attrib2.C | Loading commit data... | |
| attrib3.C | Loading commit data... | |
| attrib4.C | Loading commit data... | |
| attrib5.C | Loading commit data... | |
| attrib6.C | Loading commit data... | |
| bound1.C | Loading commit data... | |
| constructor.C | Loading commit data... | |
| default.C | Loading commit data... | |
| delvoid.C | Loading commit data... | |
| jump1.C | Loading commit data... | |
| label1.C | Loading commit data... | |
| label2.C | Loading commit data... | |
| memconst.C | Loading commit data... | |
| namedret1.C | Loading commit data... | |
| namedret2.C | Loading commit data... | |
| namedret3.C | Loading commit data... | |
| noweak1.C | Loading commit data... | |
| null1.C | Loading commit data... | |
| overload1.C | Loading commit data... | |
| pretty.C | Loading commit data... | |
| pretty2.C | Loading commit data... | |
| pretty3.C | Loading commit data... | |
| restrict1.C | Loading commit data... | |
| return1.C | Loading commit data... | |
| stmtexpr1.C | Loading commit data... | |
| syshdr1.C | Loading commit data... | |
| typename1.C | Loading commit data... | |
| typeof1.C | Loading commit data... | |
| typeof2.C | Loading commit data... |