This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix some type errors
On Mon, May 30, 2005 at 02:50:47PM +0200, Richard Guenther wrote:
> ! tree iref = build_fold_indirect_ref (TREE_VALUE (arglist));
> ! return fold_build2 (code, type,
> ! fold_convert (char_type_node, iref),
> ! build_int_cst (char_type_node, 0));
Given that this has gone through a front end that has applied
type conversions appropriate to __builtin_strlen, I don't see
why you need to fold_convert to char_type_node here.
r~