From 242d4d3fdd55ef2a7ed4f80febf7466d4aa69d46 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 2 Jun 2014 12:06:20 +0000 Subject: 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 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/trans-decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/fortran') 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 + + * trans-decl.c (gfc_build_builtin_function_decls): Correct number of + arguments to caf_init. + 2014-05-26 Tobias Burnus * 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); -- cgit v1.1