aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-omp.c
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2015-12-09 07:18:51 +0000
committerChung-Lin Tang <cltang@gcc.gnu.org>2015-12-09 07:18:51 +0000
commit04d2fbcc5fa0a0464e847d1bf3faeb83d67711c2 (patch)
tree31ccca0a7742bc5b5d1ed816ac8e2be1d200f88e /gcc/c-family/c-omp.c
parentb2539e1e8d60e0df830ab3d75dd6b5590f5c7080 (diff)
downloadgcc-04d2fbcc5fa0a0464e847d1bf3faeb83d67711c2.zip
gcc-04d2fbcc5fa0a0464e847d1bf3faeb83d67711c2.tar.gz
gcc-04d2fbcc5fa0a0464e847d1bf3faeb83d67711c2.tar.bz2
c-omp.c (c_finish_oacc_wait): Remove add_stmt() call.
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
Diffstat (limited to 'gcc/c-family/c-omp.c')
-rw-r--r--gcc/c-family/c-omp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-family/c-omp.c b/gcc/c-family/c-omp.c
index e3d41a6..cf75a72 100644
--- a/gcc/c-family/c-omp.c
+++ b/gcc/c-family/c-omp.c
@@ -63,7 +63,6 @@ c_finish_oacc_wait (location_t loc, tree parms, tree clauses)
}
stmt = build_call_expr_loc_vec (loc, stmt, args);
- add_stmt (stmt);
vec_free (args);