projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ab952
)
(function_cannot_inline_p): Use current_function_varargs.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 6 Apr 1994 11:50:07 +0000
(07:50 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 6 Apr 1994 11:50:07 +0000
(07:50 -0400)
From-SVN: r6986
gcc/integrate.c
patch
|
blob
|
history
diff --git
a/gcc/integrate.c
b/gcc/integrate.c
index adc457feca2ad9dfe6803c63cf1bcfe1dd0077ae..1e2a672ce96288e76aa3f2217a2f5ef7266dc979 100644
(file)
--- 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)