diff options
author | Tobias Burnus <burnus@net-b.de> | 2014-09-13 10:33:32 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2014-09-13 10:33:32 +0200 |
commit | 772e797a3fac6212c59213fd5f0ffaa9e626db61 (patch) | |
tree | 9a1afb6869813682196a68c48b854f31edc6ce1f | |
parent | 05f30b866f8d44acabc08dcd045712afc40445a4 (diff) | |
download | gcc-772e797a3fac6212c59213fd5f0ffaa9e626db61.zip gcc-772e797a3fac6212c59213fd5f0ffaa9e626db61.tar.gz gcc-772e797a3fac6212c59213fd5f0ffaa9e626db61.tar.bz2 |
re PR fortran/63252 (tree_class_check_failed)
2014-09-13 Tobias Burnus <burnus@net-b.de>
PR fortran/63252
* trans-decl.c (gfc_build_builtin_function_decls): Fix
caf_unlock declaration.
From-SVN: r215236
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/trans-decl.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 5488371..0defd7f 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2014-09-13 Tobias Burnus <burnus@net-b.de> + + PR fortran/63252 + * trans-decl.c (gfc_build_builtin_function_decls): Fix + caf_unlock declaration. + 2014-09-12 Joseph Myers <joseph@codesourcery.com> * trans-types.c (gfc_init_kinds): Check diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 6afa6f3..c0a5cc1 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -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 ( |