c-parser.c (c_parser_statement_after_labels): Use protected_set_expr_location.
authorMarek Polacek <polacek@redhat.com>
Tue, 6 Oct 2015 17:59:10 +0000 (17:59 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 6 Oct 2015 17:59:10 +0000 (17:59 +0000)
commit21ba0ceaa5895cd93ae5d090458e8f7b5f5803aa
tree988e176951df4e82f20b48a25fb0d26c7fdbe08c
parent46836b0e033c460d87146f5c635a4d026d2b77bb
c-parser.c (c_parser_statement_after_labels): Use protected_set_expr_location.

* c-parser.c (c_parser_statement_after_labels): Use
protected_set_expr_location.
(c_parser_omp_clause_num_gangs): Likewise.
(c_parser_omp_clause_num_threads): Likewise.
(c_parser_omp_clause_num_workers): Likewise.
(c_parser_omp_clause_vector_length): Likewise.
(c_parser_omp_clause_num_teams): Likewise.
(c_parser_omp_clause_thread_limit): Likewise.
* c-typeck.c (build_c_cast): Likewise.
(c_cast_expr): Likewise.

From-SVN: r228541
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/c/c-typeck.c