[rfa] unify fold/simplify builtin

Roger Sayle roger@eyesopen.com
Thu Sep 23 02:01:00 GMT 2004


On Wed, 22 Sep 2004, Eric Christopher wrote:
> 2004-09-22  Eric Christopher  <echristo@redhat.com>
>
> 	* builtins.c (simplify_builtin_va_start): Remove.
> 	(simplify_builtin): Ditto.
> 	(fold_builtin_strchr): Ditto.
> 	(simplify_builtin_*): Rename remainders to fold_builtin_*.
> 	(expand_builtin): Fix up for above changes.
> 	(fold_builtin_1): Add new folders. Change for above.
> 	(expand_builtin_va_start): Call fold_builtin_next_arg.
> 	* gimplify.c (gimplify_call_expr): Fix calls to simplify_builtin.
> 	* tree.h: Remove prototype for simplify_builtin.

This is OK for mainline.  My understanding is that clean-ups, especially
fall-out from the tree-ssa merge, are allowed in early stage3.  If anyone
feels that I've overstepped "the line", either with this or any other
approval, please feel free to let me know.

Thanks Eric.  This has been on my list for a while.

Roger
--



More information about the Gcc-patches mailing list