This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] builtins.c: Use TYPE (TYPE (fndecl)) instead of TREE_TYPE(exp)
- 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: Sun, 13 Mar 2005 08:35:03 -0700 (MST)
- Subject: Re: [patch] builtins.c: Use TYPE (TYPE (fndecl)) instead of TREE_TYPE(exp)
On Sun, 13 Mar 2005, Kazu Hirata wrote:
> 2005-03-13 Kazu Hirata <kazu@cs.umass.edu>
>
> * builtins.c (fold_trunc_transparent_mathfn,
> fold_fixed_mathfn, fold_builtin_atan, fold_builtin_trunc,
> fold_builtin_floor, fold_builtin_ceil, fold_builtin_round,
> fold_builtin_lround, fold_builtin_bitop, fold_builtin_memcpy,
> fold_builtin_strcpy, fold_builtin_strncpy,
> fold_builtin_signbit): Use TYPE (TYPE (fndecl)) instead of
> TREE_TYPE (exp).
This is OK for mainline. I like that you've chosen to make this
change an independent part of the reorganization, just in case there
are latent bugs affected by this code.
Thanks,
Roger
--