This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix code size estimates wrt variadic functions
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Tue, 1 Jun 2010 10:22:51 +0200
- Subject: Re: Fix code size estimates wrt variadic functions
- References: <20100601000240.GA28772@kam.mff.cuni.cz>
On Tue, Jun 1, 2010 at 2:02 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> - ? ? ? else if (funtype && prototype_p (funtype))
> + ? ? ? else if (funtype && prototype_p (funtype) && !stdarg)
> ? ? ? ? ?{
> ? ? ? ? ? ?tree t;
> ? ? ? ? ? ?for (t = TYPE_ARG_TYPES (funtype); t && t != void_list_node;
While you're hacking here... FOREACH_FUNCTION_ARGS?
Ciao!
Steven