This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r147716 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 May 2009 19:14:43 -0000
- Subject: r147716 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: ebotcazou
Date: Tue May 19 19:14:42 2009
New Revision: 147716
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147716
Log:
* tree-scalar-evolution.c (follow_ssa_edge_expr) <NOP_EXPR>: Turn
into CASE_CONVERT.
<PLUS_EXPR>: Strip useless type conversions instead of type nops.
Propagate the type of the first operand.
<ASSERT_EXPR>: Simplify.
(follow_ssa_edge_in_rhs): Use gimple_expr_type to get the type.
Rewrite using the RHS code as discriminant.
<NOP_EXPR>: Turn into CASE_CONVERT.
<PLUS_EXPR>: Propagate the type of the first operand.
Added:
trunk/gcc/testsuite/gnat.dg/loop_optimization6.adb
trunk/gcc/testsuite/gnat.dg/loop_optimization6.ads
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-scalar-evolution.c