aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-errors.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-01-07 10:01:00 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2005-01-07 10:01:00 +0100
commit8870e2121de6b86e33178bfc4646aa10bbe7069b (patch)
tree9ca4a80106abc12d7faa84a20a89676b90effb70 /gcc/c-errors.c
parent4f1cfe85af8f53bdf31aa5b27cd6b5a7998f17bd (diff)
downloadgcc-8870e2121de6b86e33178bfc4646aa10bbe7069b.zip
gcc-8870e2121de6b86e33178bfc4646aa10bbe7069b.tar.gz
gcc-8870e2121de6b86e33178bfc4646aa10bbe7069b.tar.bz2
re PR tree-optimization/18828 (Extraneous warning with var_start and optimization)
PR tree-optimization/18828 * builtins.c (expand_builtin_next_arg): Remove argument and all the argument checking. (expand_builtin): Adjust caller. (expand_builtin_va_start): Likewise. Remove error for too many arguments. (fold_builtin_next_arg): Issue error for too many arguments. After checking arguments, replace them with magic arguments that prevent further checking of the args. * gcc.dg/20050105-2.c: New test. From-SVN: r93040
Diffstat (limited to 'gcc/c-errors.c')
0 files changed, 0 insertions, 0 deletions