aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr86122.c
blob: 1bd467331830fdad95f2bd1692010f743453aa29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR middle-end/86122 */
/* { dg-skip-if "exceeds eBPF stack limit" { bpf-*-* } } */

_Complex int
foo (_Complex int x)
{
  x += __INT_MAX__;
  x += 1;
  return x;
}

_Complex int
bar (_Complex int x)
{
  x += 1;
  x += __INT_MAX__;
  return x;
}