re PR middle-end/37861 (Bogus array bounds warning)
authorMartin Jambor <mjambor@suse.cz>
Tue, 2 Dec 2008 14:30:55 +0000 (15:30 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 2 Dec 2008 14:30:55 +0000 (15:30 +0100)
commitd47a01516c91f35d0f60d2e636d6e3724ee400b3
tree773f6a892e8147c25699be344fdb943a6a5c0ae3
parent96e4a79fbd9ee3c390c77bc2bff69a783ee13ff2
re PR middle-end/37861 (Bogus array bounds warning)

2008-12-02  Martin Jambor  <mjambor@suse.cz>

PR middle-end/37861
        * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do not check
        for INDIRECT_REFs.
        (forward_propagate_addr_into_variable_array_index): Check that the
        offset is not computed from a MULT_EXPR, use is_gimple_assign rather
        than the gimple code directly.

From-SVN: r142355
gcc/ChangeLog
gcc/tree-ssa-forwprop.c