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/java/expr.c | |
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/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 6f43b19..3bf983a 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -2940,7 +2940,7 @@ expand_java_field_op (int is_static, int is_putting, int field_ref_index) if (TREE_THIS_VOLATILE (field_decl)) java_add_stmt - (build_call_expr (built_in_decls[BUILT_IN_SYNCHRONIZE], 0)); + (build_call_expr (built_in_decls[BUILT_IN_SYNC_SYNCHRONIZE], 0)); java_add_stmt (modify_expr); } @@ -2959,7 +2959,7 @@ expand_java_field_op (int is_static, int is_putting, int field_ref_index) if (TREE_THIS_VOLATILE (field_decl)) java_add_stmt - (build_call_expr (built_in_decls[BUILT_IN_SYNCHRONIZE], 0)); + (build_call_expr (built_in_decls[BUILT_IN_SYNC_SYNCHRONIZE], 0)); push_value (temp); } |