Debian Codegraph @

gcc/testsuite/gcc.dg/asan/pr78832.c

raw
1 /* PR sanitizer/78832 */
2 /* { dg-do compile } */
3 /* { dg-additional-options "-fcompare-debug" } */
4
5 void bar (int *);
6
7 int
8 foo (int x)
9 {
10 int *f = 0;
11 if (x)
12 goto lab;
13 {
14 int y, z;
15 bar (&y);
16 int *d = &y;
17 bar (&z);
18 int *e = &z;
19 }
20 f = &x;
21 lab: return 6;
22 }