summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr46034.c
blob: 02eda0572e490ddffdbbe296afbf882ce10277ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR rtl-optimization/46034 */

void bar (int);

void
foo (int x, int y)
{
  int i;
  for (i = 0; i < x; i++)
    {
      y = __builtin_abs (y);
      bar (y / 2);
    }
}