summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-stmt.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2014-08-15 18:33:08 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2014-08-15 18:33:08 +0200
commit9de8e7afa4cc23b93bbc91329d9864c0883e8640 (patch)
treebf626635cc5610c8ce13b141261421defaefeb8a /gcc/fortran/trans-stmt.c
parent86d2cad9064326411c933cd67313e602f0828419 (diff)
downloadgcc-9de8e7afa4cc23b93bbc91329d9864c0883e8640.tar.gz
resolve.c (resolve_critical): Fix name mangling.
2014-08-15 Tobias Burnus <burnus@net-b.de> * resolve.c (resolve_critical): Fix name mangling. * trans-stmt.c (gfc_trans_critical): Fix lock call. From-SVN: r214029
Diffstat (limited to 'gcc/fortran/trans-stmt.c')
-rw-r--r--gcc/fortran/trans-stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c
index abd80e768a7..f3dec7595fa 100644
--- a/gcc/fortran/trans-stmt.c
+++ b/gcc/fortran/trans-stmt.c
@@ -1121,7 +1121,7 @@ gfc_trans_critical (gfc_code *code)
token = GFC_TYPE_ARRAY_CAF_TOKEN (TREE_TYPE (token));
tmp = build_call_expr_loc (input_location, gfor_fndecl_caf_lock, 7,
token, integer_zero_node, integer_one_node,
- boolean_true_node, null_pointer_node,
+ null_pointer_node, null_pointer_node,
null_pointer_node, integer_zero_node);
gfc_add_expr_to_block (&block, tmp);
}