aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/trans-decl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 02b6520..831103a 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-02 Bernd Schmidt <bernds@codesourcery.com>
+
+ * trans-decl.c (gfc_build_builtin_function_decls): Correct number of
+ arguments to caf_init.
+
2014-05-26 Tobias Burnus <burnus@net-b.de>
* gfortran.texi (Project Status): Fix broken link.
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index 4a5ba1d..db46858 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -3260,7 +3260,7 @@ gfc_build_builtin_function_decls (void)
gfor_fndecl_caf_init = gfc_build_library_function_decl (
get_identifier (PREFIX("caf_init")), void_type_node,
- 4, pint_type, pppchar_type, pint_type, pint_type);
+ 2, pint_type, pppchar_type);
gfor_fndecl_caf_finalize = gfc_build_library_function_decl (
get_identifier (PREFIX("caf_finalize")), void_type_node, 0);