This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: insn_code -> tree_code in tree-vect-transform.c
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: Rask Ingemann Lambertsen <rask at sygehus dot dk>, Thomas Neumann <tneumann at users dot sourceforge dot net>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 26 May 2007 11:19:18 -0700
- Subject: Re: PATCH: insn_code -> tree_code in tree-vect-transform.c
- References: <f37ob4$jnv$1@sea.gmane.org> <20070526103309.GU5690@sygehus.dk> <20070526150156.GA28066@lucon.org> <46586C4F.5080107@gmail.com>
On Sat, May 26, 2007 at 07:20:15PM +0200, Uros Bizjak wrote:
> >2007-05-26 H.J. Lu <hongjiu.lu@intel.com>
> >
> > * tree-vect-transform.c (vectorizable_conversion): Initialize
> > tree_code variables to ERROR_MARK.
> > (vectorizable_type_demotion): Likewise.
> > (vectorizable_type_promotion): Likewise.
> >
>
> Please initialize these variables to 0 (it is the least confusing
> constant) and commit this patch as obvious.
>
Either value is OK. Which does C++ prefer, 0 or ERROR_MARK?
H.J.