diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-06 07:50:07 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-06 07:50:07 -0400 |
commit | 5d3fe1fed28fb0988799fbbe1adf6e7f5417f7e7 (patch) | |
tree | 47bff0d10919825e7313d725637e3e46fa278c81 /gcc | |
parent | 91ab952c02e65dcb5867ac1d308dc4dc0d180fbd (diff) | |
download | gcc-5d3fe1fed28fb0988799fbbe1adf6e7f5417f7e7.zip gcc-5d3fe1fed28fb0988799fbbe1adf6e7f5417f7e7.tar.gz gcc-5d3fe1fed28fb0988799fbbe1adf6e7f5417f7e7.tar.bz2 |
(function_cannot_inline_p): Use current_function_varargs.
From-SVN: r6986
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/integrate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index adc457f..1e2a672 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -93,9 +93,7 @@ function_cannot_inline_p (fndecl) message about that if `inline' is specified. This code it put in to catch the volunteers. */ if ((last && TREE_VALUE (last) != void_type_node) - || (DECL_ARGUMENTS (fndecl) && DECL_NAME (DECL_ARGUMENTS (fndecl)) - && ! strcmp (IDENTIFIER_POINTER (DECL_NAME (DECL_ARGUMENTS (fndecl))), - "__builtin_va_alist"))) + || current_function_varargs) return "varargs function cannot be inline"; if (current_function_calls_alloca) |