[Bug tree-optimization/32090] [4.3 Regression] ICE in forwprop with zero sized array
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat May 26 03:30:00 GMT 2007
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-05-26 03:30 -------
Subject: Bug 32090
Author: pinskia
Date: Sat May 26 03:29:58 2007
New Revision: 125087
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125087
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/opt/array2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-forwprop.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32090
More information about the Gcc-bugs
mailing list