summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr84670-1.c
blob: c1ad474aa47105d780fe192cae16c5f26c2832d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2 -fno-tree-dominator-opts" } */

int a, b, c, d;

int
foo (void)
{
  __int128 i;
l:
  i -= c;
  if (b)
    goto l;
  __builtin_mul_overflow (0, a, &c);
  if (d)
    goto l;
  return i;
}