Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 585558
Collapse All | Expand All

(-)a/gcc/graphite-isl-ast-to-gimple.c (+7 lines)
Lines 2725-2730 copy_bb_and_scalar_dependences (basic_block bb, edge next_e, vec<tree> iv_map) Link Here
2725
    }
2725
    }
2726
  else
2726
  else
2727
    {
2727
    {
2728
      if (num_phis > 0
2729
	  && EDGE_COUNT (bb->preds) > 2)
2730
	{
2731
	  codegen_error = true;
2732
	  return NULL;
2733
	}
2734
2728
      new_bb = split_edge (next_e);
2735
      new_bb = split_edge (next_e);
2729
      if (num_phis > 0 && bb_contains_loop_phi_nodes (bb))
2736
      if (num_phis > 0 && bb_contains_loop_phi_nodes (bb))
2730
	{
2737
	{
(-)a/gcc/testsuite/gcc.dg/graphite/pr69068.c (+14 lines)
Line 0 Link Here
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fgraphite-identity" } */
3
4
int qo;
5
int zh[2];
6
7
void
8
td (void)
9
{
10
  int ly, en;
11
  for (ly = 0; ly < 2; ++ly)
12
    for (en = 0; en < 2; ++en)
13
      zh[en] = ((qo == 0) || (((qo * 2) != 0))) ? 1 : -1;
14
}

Return to bug 585558