2015-12-09 Chung-Lin Tang <cltang@codesourcery.com>
* c-family/c-omp.c (c_finish_oacc_wait): Remove add_stmt() call.
* c/c-parser.c (c_parser_oacc_wait): Add add_stmt() call.
* cp/parser.c (cp_parser_oacc_wait): Add finish_expr_stmt() call.
From-SVN: r231441
+2015-12-09 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * c-family/c-omp.c (c_finish_oacc_wait): Remove add_stmt() call.
+ * c/c-parser.c (c_parser_oacc_wait): Add add_stmt() call.
+ * cp/parser.c (cp_parser_oacc_wait): Add finish_expr_stmt() call.
+
2015-12-08 Jan Hubicka <hubicka@ucw.cz>
PR ipa/61886
}
stmt = build_call_expr_loc_vec (loc, stmt, args);
- add_stmt (stmt);
vec_free (args);
strcpy (p_name, " wait");
clauses = c_parser_oacc_all_clauses (parser, OACC_WAIT_CLAUSE_MASK, p_name);
stmt = c_finish_oacc_wait (loc, list, clauses);
+ add_stmt (stmt);
return stmt;
}
"#pragma acc wait", pragma_tok);
stmt = c_finish_oacc_wait (loc, list, clauses);
+ stmt = finish_expr_stmt (stmt);
return stmt;
}