This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build a function call with variable number of arguments
- From: Andreas Schwab <schwab at suse dot de>
- To: François-Xavier Coudert <fxcoudert at gmail dot com>
- Cc: "GCC Development" <gcc at gcc dot gnu dot org>
- Date: Thu, 29 Mar 2007 13:31:23 +0200
- Subject: Re: Build a function call with variable number of arguments
- References: <19c433eb0703290421g41c8d5a1s95ab7ab993da6fc4@mail.gmail.com>
"François-Xavier Coudert" <fxcoudert@gmail.com> writes:
> Could someone give me a pointer to doc or code about building a
> function decl and function call expr that take a variable number of
> arguments (like printf)?
See c-common.c:def_fn_type for the decl.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."