gcc/cp/
* parser.c (cp_parser_oacc_enter_exit_data): Use existing local
variable.
Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
From-SVN: r266687
+2018-11-30 James Norris <jnorris@codesourcery.com>
+
+ * parser.c (cp_parser_oacc_enter_exit_data): Use existing local
+ variable.
+
2018-11-29 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (compute_array_index_type_loc): New, like the current
stmt = enter ? make_node (OACC_ENTER_DATA) : make_node (OACC_EXIT_DATA);
TREE_TYPE (stmt) = void_type_node;
OMP_STANDALONE_CLAUSES (stmt) = clauses;
- SET_EXPR_LOCATION (stmt, pragma_tok->location);
+ SET_EXPR_LOCATION (stmt, loc);
add_stmt (stmt);
return stmt;
}