Commit fb2d50f5 by Richard Guenther Committed by Richard Biener

f95-lang.c (build_builtin_fntypes): Use correct return types, as indicated by comments.

2005-12-09  Richard Guenther  <rguenther@suse.de>

        * f95-lang.c (build_builtin_fntypes): Use correct
        return types, as indicated by comments.

From-SVN: r108277
parent 2cf2d928
2005-12-09 Richard Guenther <rguenther@suse.de>
* f95-lang.c (build_builtin_fntypes): Use correct
return types, as indicated by comments.
2005-12-08 Erik Edelmann <eedelman@gcc.gnu.org> 2005-12-08 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/25292 PR fortran/25292
......
...@@ -772,10 +772,10 @@ build_builtin_fntypes (tree * fntype, tree type) ...@@ -772,10 +772,10 @@ build_builtin_fntypes (tree * fntype, tree type)
tree tmp; tree tmp;
/* type (*) (type) */ /* 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); fntype[0] = build_function_type (type, tmp);
/* type (*) (type, type) */ /* 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); fntype[1] = build_function_type (type, tmp);
/* type (*) (int, type) */ /* type (*) (int, type) */
tmp = tree_cons (NULL_TREE, integer_type_node, void_list_node); tmp = tree_cons (NULL_TREE, integer_type_node, void_list_node);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment