This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC/PATCH] Fix PR middle-end/17909, ICE in verifiy_stms
- From: Roger Sayle <roger at eyesopen dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 3 Dec 2004 20:02:59 -0700 (MST)
- Subject: Re: [RFC/PATCH] Fix PR middle-end/17909, ICE in verifiy_stms
On Wed, 24 Nov 2004, Andrew Pinski wrote:
> * builtins.c (fold_builtin_next_arg): Export and return true
> when there is a warning or an error.
> (expand_builtin_va_start): When fold_builtin_next_arg returns true,
> return const0_rtx.
> (expand_builtin): Likewise.
> * gimplify.c (gimplify_call_expr): Error out if there is not
> enough arguments to va_start. Call fold_builtin_next_arg also
> on the second argument.
This is OK for mainline. Please remember to mention PR middle-end/17909
in the ChangeLog entry.
Thanks,
Roger
--