aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr86123.c
blob: 707e6dc0adbcc9671a5a667da1c10dd9edcd6095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR middle-end/86123 */

int
foo (_Complex unsigned x, _Complex unsigned y)
{
  _Complex unsigned t1 = x / y;
  int t2 = (t1 != 0);
  return t2;
}

int
bar (_Complex unsigned x, _Complex unsigned y)
{
  _Complex unsigned t1 = x / y;
  int t2 = (t1 == 0);
  return t2;
}