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] buitlins.c: Fix tree-optimization/14819.


On Thu, May 20, 2004 at 01:30:28PM -0400, Kazu Hirata wrote:
> +	  if (r == NULL)
> +	    return integer_zero_node;

This variable is of the wrong type.  Need a fold_convert here.

> +			      s1, convert (TREE_TYPE (s1),
> +					   ssize_int (r - p1))));

Similarly, use fold_convert instead of convert.


r~


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