This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Remove VPARAMS
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Jun 2003 15:21:37 +0100
- Subject: [PATCH]: Remove VPARAMS
- Organization: Codesourcery LLC
VPARAMS got poisoned.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2003-06-18 Nathan Sidwell <nathan@codesourcery.com>
* treetree.c (build_stmt): Remove VPARAMS.
(pedwarn_c99): Likewise.
Index: treelang/treetree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treetree.c,v
retrieving revision 1.28
diff -c -3 -p -r1.28 treetree.c
*** treelang/treetree.c 14 Jun 2003 17:33:32 -0000 1.28
--- treelang/treetree.c 18 Jun 2003 14:19:19 -0000
*************** c_lex (tree *value ATTRIBUTE_UNUSED)
*** 869,875 ****
/* Should not be called for treelang. */
tree
! build_stmt VPARAMS ((enum tree_code code ATTRIBUTE_UNUSED, ...))
{
abort ();
}
--- 869,875 ----
/* Should not be called for treelang. */
tree
! build_stmt (enum tree_code code ATTRIBUTE_UNUSED, ...)
{
abort ();
}
*************** build_return_stmt (tree expr ATTRIBUTE_U
*** 893,899 ****
/* C warning, ignore. */
void
! pedwarn_c99 VPARAMS ((const char *msgid ATTRIBUTE_UNUSED, ...))
{
return;
}
--- 893,899 ----
/* C warning, ignore. */
void
! pedwarn_c99 (const char *msgid ATTRIBUTE_UNUSED, ...)
{
return;
}