aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr83593.c
blob: eddecc0606aa9530349397534f21cdcab8c726c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR tree-optimization/83593 */
/* { dg-options "-O2 -fno-tree-dominator-opts -fnon-call-exceptions -fno-tree-pre -fexceptions -fno-code-hoisting -fno-tree-fre" } */

void
hr (int *ed, signed char *ju)
{
  int kc;
    {
      int xj;
      int *q2 = (*ed == 0) ? &xj : &kc;

      *ju = 0;
      kc = *ju;
    }
}