diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-05-01 01:21:45 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-05-01 01:21:45 +0000 |
commit | 5d638f70878028cfd016572abac20b7de37a745a (patch) | |
tree | b5fb51c277472997c25bb79ef7511f9650adccab /gcc/tree-inline.c | |
parent | ee704412abeea8cc349e99115bf3331adbad6d27 (diff) | |
download | gcc-5d638f70878028cfd016572abac20b7de37a745a.zip gcc-5d638f70878028cfd016572abac20b7de37a745a.tar.gz gcc-5d638f70878028cfd016572abac20b7de37a745a.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index d1acba3..3a8adc5 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -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 |