Commit 5d638f70 by Geoffrey Keating Committed by Geoffrey Keating

tree-inline.c (inlinable_function_p): Back out last change, it's unnecessary.

	* tree-inline.c (inlinable_function_p): Back out last change, it's
	unnecessary.

From-SVN: r66315
parent ee704412
2003-04-30 Geoffrey Keating <geoffk@apple.com>
* tree-inline.c (inlinable_function_p): Back out last change, it's
unnecessary.
2003-04-30 Steven Bosscher <steven@gcc.gnu.org>
* ggc-page.c (TREE_EXP_SIZE): Define.
......
......@@ -1008,13 +1008,6 @@ inlinable_function_p (fn, id, nolimit)
else if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)) == NULL
&& find_alloca_call (DECL_SAVED_TREE (fn)))
;
/* Can't inline functions which use varargs. It's not theoretically
impossible, we just don't do it yet; at least one problem is that
expand_builtin_next_arg needs to handle the situation. */
else if (TYPE_ARG_TYPES (TREE_TYPE (fn)) != 0
&& (TREE_VALUE (tree_last (TYPE_ARG_TYPES (TREE_TYPE (fn))))
!= void_type_node))
;
/* All is well. We can inline this function. Traditionally, GCC
has refused to inline functions using alloca, or functions whose
values are returned in a PARALLEL, and a few other such obscure
......
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