re PR tree-optimization/32090 (ICE in forwprop with zero sized array)
commit150594ba69066ade4b78e51d0a20ef9a16029bc2
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Sat, 26 May 2007 03:29:58 +0000 (26 03:29 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 26 May 2007 03:29:58 +0000 (25 20:29 -0700)
tree701640b5f9e9f9335a876008b9da83e849d8609b
parentcd3a59b38ed5414f55606720817999b869e02762
re PR tree-optimization/32090 (ICE in forwprop with zero sized array)

2007-05-25  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/32090
        * tree-ssa-forwprop.c
        (forward_propagate_addr_into_variable_array_index): Remove
        the lhs argument.  Use the type of def_rhs instead of lhs.
        (forward_propagate_addr_expr_1): Update use of
        forward_propagate_addr_into_variable_array_index.

2007-05-25  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR tree-opt/32090
        * g++.dg/opt/array2.C: New testcase.

From-SVN: r125087
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/array2.C [new file with mode: 0644]
gcc/tree-ssa-forwprop.c