[patch] tree-vrp.c: Fix PR tree-optimization/25485.

Andrew Pinski pinskia@physics.uc.edu
Mon Dec 26 19:04:00 GMT 2005


On Dec 26, 2005, at 3:01 AM, Kazu Hirata wrote:

> +	  min = max = fold_convert (TREE_TYPE (expr),
> +				    integer_zero_node);

> +	  min = max = fold_convert (TREE_TYPE (expr),
> +				    integer_one_node);


Shouldn't you be using build_int_cst instead of fold_convert?

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list