This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR middle-end/17055: Casting integer zero to a vector
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jim Wilson <wilson at specifixinc dot com>
- Date: Wed, 08 Sep 2004 12:04:16 -0700
- Subject: Re: [PATCH] PR middle-end/17055: Casting integer zero to a vector
- References: <Pine.LNX.4.44.0409081150310.19509-100000@www.eyesopen.com>
Roger Sayle <roger@eyesopen.com> writes:
[...]
Without commenting on the patch overall, as I am unfamiliar with the
issues,
> + elem = fold_convert_const (NOP_EXPR, TREE_TYPE (type), integer_zero_node);
I'd just like to point out that this is better written
elem = build_int_cst (TREE_TYPE (type), 0);
these days.
zw