This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: insn_code -> tree_code in tree-vect-transform.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]