* tree.c (build_function_type_list_1): Remove bogus assert condition.
gcc/fortran/
* trans-types.c (gfc_init_types): Use build_function_type_list.
(gfc_get_ppc_type): Likewise.
* trans-decl.c (gfc_generate_constructors): Likewise.
* f95-lang.c (build_builtin_fntypes): Likewise.
(gfc_init_builtin_functions): Likewise.
(DEF_FUNCTION_TYPE_0): Likewise.
(DEF_FUNCTION_TYPE_1): Likewise.
(DEF_FUNCTION_TYPE_2): Likewise.
(DEF_FUNCTION_TYPE_3): Likewise.
(DEF_FUNCTION_TYPE_4): Likewise.
(DEF_FUNCTION_TYPE_5): Likewise.
(DEF_FUNCTION_TYPE_6): Likewise.
(DEF_FUNCTION_TYPE_7): Likewise. Use ARG7.
(DEF_FUNCTION_TYPE_VAR_0): Use build_varags_function_type_list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159491
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-05-17 Nathan Froyd <froydnj@codesourcery.com>
+
+ * tree.c (build_function_type_list_1): Remove bogus assert condition.
+
2010-05-17 Alan Modra <amodra@gmail.com>
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Delete
+2010-05-17 Nathan Froyd <froydnj@codesourcery.com
+
+ * trans-types.c (gfc_init_types): Use build_function_type_list.
+ (gfc_get_ppc_type): Likewise.
+ * trans-decl.c (gfc_generate_constructors): Likewise.
+ * f95-lang.c (build_builtin_fntypes): Likewise.
+ (gfc_init_builtin_functions): Likewise.
+ (DEF_FUNCTION_TYPE_0): Likewise.
+ (DEF_FUNCTION_TYPE_1): Likewise.
+ (DEF_FUNCTION_TYPE_2): Likewise.
+ (DEF_FUNCTION_TYPE_3): Likewise.
+ (DEF_FUNCTION_TYPE_4): Likewise.
+ (DEF_FUNCTION_TYPE_5): Likewise.
+ (DEF_FUNCTION_TYPE_6): Likewise.
+ (DEF_FUNCTION_TYPE_7): Likewise. Use ARG7.
+ (DEF_FUNCTION_TYPE_VAR_0): Use build_varags_function_type_list.
+
2010-05-17 Nathan Froyd <froydnj@cs.rice.edu>
* trans-array.c (gfc_trans_array_constructor_value): Use
return;
fnname = get_file_function_name ("I");
- type = build_function_type (void_type_node,
- gfc_chainon_list (NULL_TREE, void_type_node));
+ type = build_function_type_list (void_type_node, NULL_TREE);
fndecl = build_decl (input_location,
FUNCTION_DECL, fnname, type);
ppvoid_type_node = build_pointer_type (pvoid_type_node);
pchar_type_node = build_pointer_type (gfc_character1_type_node);
pfunc_type_node
- = build_pointer_type (build_function_type (void_type_node, NULL_TREE));
+ = build_pointer_type (build_function_type_list (void_type_node, NULL_TREE));
gfc_array_index_type = gfc_get_int_type (gfc_index_integer_kind);
/* We cannot use gfc_index_zero_node in definition of gfc_array_range_type,
else
t = void_type_node;
- return build_pointer_type (build_function_type (t, NULL_TREE));
+ return build_pointer_type (build_function_type_list (t, NULL_TREE));
}
last = args;
if (args != NULL_TREE)
args = nreverse (args);
- gcc_assert (args != NULL_TREE && last != void_list_node);
+ gcc_assert (last != void_list_node);
}
else if (args == NULL_TREE)
args = void_list_node;