[Bug c/30457] Please warn about va_start(ap, invalid)

2008-08-21 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-21 19:12 --- Thanks for the report! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30457

[Bug c/30457] Please warn about va_start(ap, invalid)

2008-08-21 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-08-21 19:12 --- We warn now about "register", the other cases are not warned following the rationale given here: http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00819.html Fixed in GCC 4.4 -- manu at gcc dot gnu dot org changed:

[Bug c/30457] Please warn about va_start(ap, invalid)

2008-08-21 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-08-21 19:07 --- Subject: Bug 30457 Author: manu Date: Thu Aug 21 19:05:46 2008 New Revision: 139406 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139406 Log: 2008-08-21 Manuel Lopez-Ibanez <[EMAIL PROTECTED]> PR 30

[Bug c/30457] Please warn about va_start(ap, invalid)

2007-11-03 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2007-11-03 15:32 --- What about this patch? Does it look correct? Index: gcc/builtins.c === --- gcc/builtins.c (revision 129513) +++ gcc/builtins.c (working copy) @@

[Bug c/30457] Please warn about va_start(ap, invalid)

2007-11-03 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2007-11-03 15:20 --- This check could be implemented in builtins.c (fold_builtin_next_arg). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30457