mirror of git://gcc.gnu.org/git/gcc.git
Fix typo in copy_cond_phi_args
2016-04-12 Tom de Vries <tom@codesourcery.com> PR tree-optimization/68756 * graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr instead of new_name. * gcc.dg/graphite/pr68756.c: New test. From-SVN: r234896
This commit is contained in:
parent
4e0eea7560
commit
b7a120d7a8
|
|
@ -1,3 +1,9 @@
|
||||||
|
2016-04-12 Tom de Vries <tom@codesourcery.com>
|
||||||
|
|
||||||
|
PR tree-optimization/68756
|
||||||
|
* graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr
|
||||||
|
instead of new_name.
|
||||||
|
|
||||||
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR tree-optimization/70602
|
PR tree-optimization/70602
|
||||||
|
|
|
||||||
|
|
@ -2439,7 +2439,7 @@ copy_cond_phi_args (gphi *phi, gphi *new_phi, vec<tree> iv_map, bool postpone)
|
||||||
fprintf (dump_file, "\n");
|
fprintf (dump_file, "\n");
|
||||||
}
|
}
|
||||||
gsi_insert_earliest (stmts);
|
gsi_insert_earliest (stmts);
|
||||||
new_phi_args [i] = new_name;
|
new_phi_args[i] = new_expr;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-04-12 Tom de Vries <tom@codesourcery.com>
|
||||||
|
|
||||||
|
PR tree-optimization/68756
|
||||||
|
* gcc.dg/graphite/pr68756.c: New test.
|
||||||
|
|
||||||
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR tree-optimization/70602
|
PR tree-optimization/70602
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
/* { dg-do compile } */
|
||||||
|
/* { dg-options "-O1 -floop-nest-optimize" } */
|
||||||
|
|
||||||
|
unsigned int z4, pz;
|
||||||
|
int nn[2];
|
||||||
|
|
||||||
|
static unsigned int
|
||||||
|
xq (unsigned int dj)
|
||||||
|
{
|
||||||
|
return dj > 1 ? z4 : z4 + dj;
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
la (void)
|
||||||
|
{
|
||||||
|
int hd, dl;
|
||||||
|
unsigned int hn = 0;
|
||||||
|
|
||||||
|
for (hd = 0; hd < 2; ++hd)
|
||||||
|
{
|
||||||
|
for (dl = 0; dl < 2; ++dl)
|
||||||
|
nn[dl] = 0;
|
||||||
|
--hn;
|
||||||
|
pz = xq (hn);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue