diff options
author | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-04-28 08:36:50 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-04-28 08:36:50 +0000 |
commit | 4e81b788bb6a2f4ecc51965232727d86ca375c94 (patch) | |
tree | e4a78f92a29b33f3fb61d3b79130e6b5b072cc49 /gcc/function.c | |
parent | 90dd6e3df86c81bdc1380513c57cce64caf32f72 (diff) | |
download | gcc-4e81b788bb6a2f4ecc51965232727d86ca375c94.zip gcc-4e81b788bb6a2f4ecc51965232727d86ca375c94.tar.gz gcc-4e81b788bb6a2f4ecc51965232727d86ca375c94.tar.bz2 |
re PR c/65901 (no warning or error for va_arg (ap, void))
PR c/65901
* c-typeck.c (c_build_va_arg): Require TYPE be a complete type.
* gcc.c-torture/compile/pr48767.c (foo): Add dg-error.
* gcc.dg/pr65901.c: New test.
From-SVN: r222515
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions