aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/pr61725.c
blob: 0aa6dafa218796e9f1f05bca38e079f8124bc8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/61725 */

int
main ()
{
  int x;
  for (x = -128; x <= 128; x++)
    {
      int a = __builtin_ffs (x);
      if (x == 0 && a != 0)
        __builtin_abort ();
    }
  return 0;
}