This patch fixes an obvious copy and paste declaration bug, introduced on the 14th of August.

Committed as obvious as Rev. 215236 after building and regtesting.

Tobias
Index: gcc/fortran/ChangeLog
===================================================================
--- gcc/fortran/ChangeLog	(Revision 215234)
+++ gcc/fortran/ChangeLog	(Arbeitskopie)
@@ -1,3 +1,9 @@
+2014-09-13  Tobias Burnus  <bur...@net-b.de>
+
+	PR fortran/63252
+	* trans-decl.c (gfc_build_builtin_function_decls): Fix
+	caf_unlock declaration.
+
 2014-09-12  Joseph Myers  <jos...@codesourcery.com>
 
 	* trans-types.c (gfc_init_kinds): Check
Index: gcc/fortran/trans-decl.c
===================================================================
--- gcc/fortran/trans-decl.c	(Revision 215234)
+++ gcc/fortran/trans-decl.c	(Arbeitskopie)
@@ -3421,7 +3421,7 @@ gfc_build_builtin_function_decls (void)
 
       gfor_fndecl_caf_unlock = gfc_build_library_function_decl_with_spec (
 	get_identifier (PREFIX("caf_unlock")), "R..WW",
-	void_type_node, 7, pvoid_type_node, size_type_node, integer_type_node,
+	void_type_node, 6, pvoid_type_node, size_type_node, integer_type_node,
 	pint_type, pchar_type_node, integer_type_node);
 
       gfor_fndecl_co_max = gfc_build_library_function_decl_with_spec (

Reply via email to