------- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-16 19:57 ------- 2005-05-11 Richard Guenther <[EMAIL PROTECTED]>
PR middle-end/19807 PR tree-optimization/19639 * fold-const.c (try_move_mult_to_index): Handle INTEGER_CST and generic summands for char* as s * delta, too, folding &a[i] CODE x to &a[i CODE x/s]. Use tree_int_cst_equal for comparison of steps. Convert types for index addition. (fold_binary): Adjust the callers to always dispatch to try_move_mult_to_index. * tree-ssa-propagate.c (set_rhs): Avoid setting rhs to expr with non-gimple ARRAY_REF offset. It exposed a latent bug in conjunction with 2005-05-10 Diego Novillo <[EMAIL PROTECTED]> * tree-optimize.c (init_tree_optimization_passes): Re-organize optimization passes to do an initial batch of scalar cleanups. which I had not in during testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21541