aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-22.c
blob: e35626d4070f72dd915b7c160ce0c99737f52ac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-sink1-details" } */

extern void abort (void);

int foo (int x, int y, int f)
{
  int tem = x / y;
  if (f)
    abort ();
  return tem;
}

/* { dg-final { scan-tree-dump-not "Sinking" "sink1" } } */