aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr117892.c
blob: d9b9c15095fc2a2931a0fa86771e216031bbf80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-O1" } */


volatile int a;
void b(int *c) {
  int *d = 0;
  *c = 0;
  *d = 0;
  __builtin_abort();
}
int main() {
  int f;
  if (a)
    b(&f);
  return 0;
}