summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/complex-6.c
blob: eb89040abf3ae0f3842dd1450ad626730ffb5ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR tree-opt/35737 */

long buf[10];

int foo()
{
  __complex__ int i = 0;

  if (__builtin_setjmp(buf))
  {
    i = 1;
    bar();
  }

  return i == 0;
}