[patch] Make TREE_OVERFLOWed constant gimple_min_invariant

Diego Novillo dnovillo@redhat.com
Fri Mar 11 14:25:00 GMT 2005


Zdenek Dvorak wrote:

> 	* tree-cfg.c (find_taken_edge_cond_expr): Use zero_p instead of
> 	integer_zerop.
> 	* tree-gimple.c (is_gimple_min_invariant): Consider overflowed
> 	constants invariant.
> 
> 	* fortran/trans-intrinsic.c (gfc_conv_intrinsic_ishft): Convert
> 	the argument of the shift to the unsigned type.
> 
Thanks.  Looks OK.  Now, we have integer_zerop and integer_nonzerop all 
over the tree optimizers.  Shouldn't those calls be updated to zero_p?


Diego.



More information about the Gcc-patches mailing list