summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20041211-1.c
blob: 5b9c1d069d9530aa74dad8ed271e5e073f1f7f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR tree-optimization/16951 */

void dummy_use(const char *p);

__inline void f(const char *const p) {
  const char q;
  dummy_use(p);
  f(&q);
}

void crash() {
  f(0);
}