aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr84960.c
blob: b076f793b093a7a949ba677c5ff3f49dbb0d00f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR tree-optimization/84960 */
/* { dg-do compile { target indirect_jumps } } */

void
foo (unsigned int a, float b, void *c)
{
lab:
  if ((b - (a %= 0) < 1U) * -1U)
    ;
  else
    {
      unsigned int f = a;
      __builtin_unreachable ();
      c = &&lab;
    }
  goto *c;
}