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
+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
--- /dev/null
+/* 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;
+}
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. */