This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r125502 - in /branches/pointer_plus/gcc: Change...
- From: pinskia at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Jun 2007 19:23:20 -0000
- Subject: r125502 - in /branches/pointer_plus/gcc: Change...
Author: pinskia
Date: Wed Jun 6 19:23:19 2007
New Revision: 125502
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125502
Log:
2007-06-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/32225
* tree-scalar-evolution.c (follow_ssa_edge_in_rhs <case
POINTER_PLUS_EXPR>): Do not change type_rhs.
(follow_ssa_edge_in_rhs <case POINTER_PLUS_EXPR, case PLUS_EXPR>):
Use the code of the orginal expression instead of just PLUS_EXPR.
Also use type_rhs where TREE_TYPE (rhs) was used (reverting back
to the trunk).
2007-06-06 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/32225
* gcc.c-torture/compile/20070605-1.c: New test.
Added:
branches/pointer_plus/gcc/testsuite/gcc.c-torture/compile/20070605-1.c
Modified:
branches/pointer_plus/gcc/ChangeLog.ptr
branches/pointer_plus/gcc/testsuite/ChangeLog.ptr
branches/pointer_plus/gcc/tree-scalar-evolution.c