projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
469225d
)
(expand_builtin, case BUILT_IN_NEXT_ARG): Don't warn when
author
Jim Wilson
<wilson@gcc.gnu.org>
Sat, 11 Feb 1995 23:12:05 +0000
(15:12 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Sat, 11 Feb 1995 23:12:05 +0000
(15:12 -0800)
no argument if this is a varargs routine.
From-SVN: r8912
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index f810a25b1f8c1a77e25cb1f5dd8120418c0cfc27..6e20f79b38794ad4cfbdda3ad4dd79a87854c2a1 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-7386,7
+7386,7
@@
expand_builtin (exp, target, subtarget, mode, ignore)
if (arg != last_parm)
warning ("second parameter of `va_start' not last named argument");
}
- else
+ else
if (! current_function_varargs)
/* Evidently an out of date version of <stdarg.h>; can't validate
va_start's second argument, but can still work as intended. */
warning ("`__builtin_next_arg' called without an argument");