aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2014-06-02 12:06:20 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2014-06-02 12:06:20 +0000
commit242d4d3fdd55ef2a7ed4f80febf7466d4aa69d46 (patch)
tree712364d521dddb414c72c098d448c301bdb628de /gcc/fortran
parent4a1f940f68cf13277252a3588ac4c05bd33aab1a (diff)
downloadgcc-242d4d3fdd55ef2a7ed4f80febf7466d4aa69d46.zip
gcc-242d4d3fdd55ef2a7ed4f80febf7466d4aa69d46.tar.gz
gcc-242d4d3fdd55ef2a7ed4f80febf7466d4aa69d46.tar.bz2
Fix a decl to match the calls to it.
* trans-decl.c (gfc_build_builtin_function_decls): Correct number of arguments to caf_init. From-SVN: r211131
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);