This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] builtins.c: Change fold_builtin_strcpy to take decomposedarguments.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 16 Mar 2005 07:10:26 -0700 (MST)
- Subject: Re: [patch] builtins.c: Change fold_builtin_strcpy to take decomposedarguments.
On Wed, 16 Mar 2005, Kazu Hirata wrote:
> 2005-03-16 Kazu Hirata <kazu@cs.umass.edu>
>
> * builtins.c (expand_movstr): Update a call to
> fold_builtin_strcpy.
> (expand_builtin_strncpy): Update a call to
> fold_builtin_strncpy.
> (fold_builtin_strcpy, fold_builtin_strncpy): Take decomosed
> arguments of CALL_EXPR.
> (fold_builtin_1): Update calls to fold_builtin_strcpy and
> fold_builtin_strncpy.
> * tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
> * tree.h: Update the prototypes of fold_builtin_strcpy and
> fold_builtin_strncpy.
This is OK for mainline.
Thanks,
Roger
--