diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2011-06-21 19:04:33 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2011-06-21 19:04:33 +0000 |
commit | e0a8ecf2a2df715d56d193bd80f2c60dc1851359 (patch) | |
tree | 542172a8d8596f3d22965c815b00a724d0f38352 /gcc/cp | |
parent | 663827d3e5b2ae5fdbcc8b2b6591910b886af3b2 (diff) | |
download | gcc-e0a8ecf2a2df715d56d193bd80f2c60dc1851359.zip gcc-e0a8ecf2a2df715d56d193bd80f2c60dc1851359.tar.gz gcc-e0a8ecf2a2df715d56d193bd80f2c60dc1851359.tar.bz2 |
cosmetic. Add sync_ to all the expand_builtin defines which do not match the actual builtin_sync_ names.
2011-06-21 Andrew MacLeod <amacleod@redhat.com>
* builtins.c: Add sync_ or SYNC__ to builtin names.
* sync-builtins.def: Add sync_ or SYNC__ to builtin names.
* omp-low.c: Add sync_ or SYNC__ to builtin names.
* c-family/c-common.c: Add sync_ or SYNC__ to builtin names.
* c-family/c-omp.c: Add sync_ or SYNC__ to builtin names.
* java/builtins.c: Add sync_ or SYNC__ to builtin names.
* java/expr.c: Add sync_ or SYNC__ to builtin names.
* cp/semantics.c: Add sync_ or SYNC__ to builtin names.
* fortran/trans-openmp.c: Add sync_ or SYNC__ to builtin names.
* fortran/trans-stmt.c: Add sync_ or SYNC__ to builtin names.
* fortran/trans-decl.c: Add sync_ or SYNC__ to builtin names.
From-SVN: r175270
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a48f9c5..97bead8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2011-06-21 Andrew MacLeod <amacleod@redhat.com> + + * semantics.c: Add sync_ or SYNC__ to builtin names. + 2011-06-20 Jason Merrill <jason@redhat.com> PR c++/49216 diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index cfe3959..1c9d70a 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -4722,7 +4722,7 @@ finish_omp_barrier (void) void finish_omp_flush (void) { - tree fn = built_in_decls[BUILT_IN_SYNCHRONIZE]; + tree fn = built_in_decls[BUILT_IN_SYNC_SYNCHRONIZE]; VEC(tree,gc) *vec = make_tree_vector (); tree stmt = finish_call_expr (fn, &vec, false, false, tf_warning_or_error); release_tree_vector (vec); |