------- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-06 19:23 ------- Subject: Bug 32225
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32225