cp-gimplify.c (genericize_if_stmt): Use protected_set_expr_location.
authorMarek Polacek <polacek@redhat.com>
Wed, 7 Oct 2015 06:52:45 +0000 (06:52 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 7 Oct 2015 06:52:45 +0000 (06:52 +0000)
commit5b5dce39b8c076c185ce1fa19d4800d6129f3f53
treeadefe0417cb5fcc10eaf977e1ba8716919e63640
parent00852255e4a0d3b67ed853aacbc4aa4f4dfe724a
cp-gimplify.c (genericize_if_stmt): Use protected_set_expr_location.

* cp-gimplify.c (genericize_if_stmt): Use protected_set_expr_location.
(genericize_cp_loop): Likewise.
* decl.c (cxx_maybe_build_cleanup): Likewise.
* parser.c (cp_parser_binary_expression): Likewise.
(cp_parser_omp_for_loop): Likewise.
(cp_parser_omp_construct): Likewise.
* semantics.c (finish_transaction_stmt): Likewise.
(build_transaction_expr): Likewise.

From-SVN: r228560
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/cp/decl.c
gcc/cp/parser.c
gcc/cp/semantics.c