From fb2d50f586c7a830d5a40e0f77fbdbba3ca10849 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 9 Dec 2005 10:21:52 +0000 Subject: f95-lang.c (build_builtin_fntypes): Use correct return types, as indicated by comments. 2005-12-09 Richard Guenther * f95-lang.c (build_builtin_fntypes): Use correct return types, as indicated by comments. From-SVN: r108277 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/f95-lang.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc/fortran') diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 91a4046..0f9cd13 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2005-12-09 Richard Guenther + + * f95-lang.c (build_builtin_fntypes): Use correct + return types, as indicated by comments. + 2005-12-08 Erik Edelmann PR fortran/25292 diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index d7bc19b..1ddad87 100644 --- a/gcc/fortran/f95-lang.c +++ b/gcc/fortran/f95-lang.c @@ -772,10 +772,10 @@ build_builtin_fntypes (tree * fntype, tree type) tree tmp; /* type (*) (type) */ - tmp = tree_cons (NULL_TREE, float_type_node, void_list_node); + tmp = tree_cons (NULL_TREE, type, void_list_node); fntype[0] = build_function_type (type, tmp); /* type (*) (type, type) */ - tmp = tree_cons (NULL_TREE, float_type_node, tmp); + tmp = tree_cons (NULL_TREE, type, tmp); fntype[1] = build_function_type (type, tmp); /* type (*) (int, type) */ tmp = tree_cons (NULL_TREE, integer_type_node, void_list_node); -- cgit v1.1