[Bug tree-optimization/21541] [4.1 Regression] gcc.c-torture/execute/20031215-1.c compilation fails
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 16 19:57:00 GMT 2005
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-05-16 19:57 -------
2005-05-11 Richard Guenther <rguenth@gcc.gnu.org>
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 <dnovillo@redhat.com>
* 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
More information about the Gcc-bugs
mailing list