[patch] tree-vrp.c: Correct the type of a comparison expression.

Roger Sayle roger@eyesopen.com
Sat Apr 23 02:24:00 GMT 2005


On Fri, 22 Apr 2005, Kazu Hirata wrote:
> 2005-04-22  Kazu Hirata  <kazu@cs.umass.edu>
>
> 	PR tree-optimization/21088
> 	* fold-const.c (fold_unary, fold_binary, fold_ternary):
> 	Export.
> 	* tree-vrp.c (compare_values): Use fold_binary to compare
> 	pointers.  Use boolean_type_node as the type of a comparison
> 	expression being folded.
> 	* tree.h: Add prototypes for fold_unary, fold_binary,
> 	fold_ternary.

This is OK for mainline.

Thanks,

Roger
--



More information about the Gcc-patches mailing list