This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize stdarg functions with void * or char * va_list
On Thu, 30 Sep 2004 10:02:29 -0700, Richard Henderson <rth@redhat.com> wrote:
> On Wed, Sep 29, 2004 at 04:43:34PM -0400, Jakub Jelinek wrote:
> > * tree-stdarg.c (struct stdarg_info): Add va_list_escape_vars
> > and va_list_escapes fields.
> > (va_list_counter_bump): Handle WITH_SIZE_EXPR.
> > Handle COUNTER being a VAR_DECL.
> > (va_list_ptr_read, va_list_ptr_write, check_va_list_escapes,
> > check_all_va_list_escapes): New functions.
> > (execute_optimize_stdarg): Handle void * or char * va_list.
> >
> > * gcc.dg/tree-ssa/stdarg-2.c: Compile on all architectures,
> > add { target x86_64-*-* powerpc-*-* } to current dg-final
> > lines. Add dg-final lines for void * or char * va_list
> > architectures.
> > * gcc.dg/tree-ssa/stdarg-3.c: Likewise.
> > * gcc.dg/tree-ssa/stdarg-4.c: Likewise.
>
> Ok.
I'm confused. Aren't we in stage3? If it is a regression fix, what's
its PR? I think there is too much questionable (not clearly stage3)
material going in right now.
Richard.