This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125518 - in /branches/pointer_plus/gcc: Change...
- From: pinskia at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Jun 2007 00:54:05 -0000
- Subject: r125518 - in /branches/pointer_plus/gcc: Change...
Author: pinskia
Date: Thu Jun 7 00:54:05 2007
New Revision: 125518
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125518
Log:
2007-06-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
* tree-ssa-forwprop.c
(forward_propagate_addr_into_variable_array_index):
Don't expect a statement for the size 1 case.
Use the offset variable for the size 1 case.
Look through use-def chains to find the mutliply
for the non size 1 case.
(forward_propagate_addr_expr_1): Call
forward_propagate_addr_into_variable_array_index with
the SSA_NAME instead of the statement.
Modified:
branches/pointer_plus/gcc/ChangeLog.ptr
branches/pointer_plus/gcc/tree-ssa-forwprop.c