Commit 7dcc58cd by Devang Patel Committed by Devang Patel

re PR tree-optimization/21272 (SSA_NAME def follows use with -ftree-vectorize)

        PR tree-optimization/21272
        * tree-if-conv.c (find_phi_replacement_condition): Fix think-o.

        * gcc.dg/vect/vect-ifcvt-10.c: New.

From-SVN: r98998
parent d566f6ef
2005-04-29 Devang Patel <dpatel@apple.com>
PR tree-optimization/21272
* tree-if-conv.c (find_phi_replacement_condition): Fix think-o.
2005-04-29 Kazu Hirata <kazu@cs.umass.edu>
* tree-flow-inline.h: Fix a comment typo.
......
2005-04-29 Devang Patel <dpatel@apple.com>
PR tree-optimization/21272
* gcc.dg/vect/vect-ifcvt-10.c: New test.
2005-04-29 Jakub Jelinek <jakub@redhat.com>
PR fortran/13082
......
/* PR 21272 */
/* { dg-do compile } */
double
foo (int j, double *v, double x)
{
int i;
for (i = 0; i < j; i++)
if (v[i] < x)
x = v[i];
return x;
}
......@@ -701,7 +701,7 @@ find_phi_replacement_condition (struct loop *loop,
basic_block tmp_bb;
tmp_bb = first_bb;
first_bb = second_bb;
second_bb = first_bb;
second_bb = tmp_bb;
}
/* Check if FIRST_BB is loop header or not. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment