This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]