Debian Codegraph @

gcc/testsuite/gcc.dg/lto/20090218-2_1.c

raw
1 /* { dg-options { -fgnu89-inline } } */
2 typedef struct {
3 } mem_attrs;
4 int main(void)
5 {
6 return 0;
7 }
8 void *malloc(__SIZE_TYPE__ size);
9 void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
10 static mem_attrs * get_mem_attrs () {
11 void **slot;
12 *slot = malloc (3);
13 memcpy (*slot, 0, 3);
14 }
15 void set_mem_attributes () {
16 get_mem_attrs ();
17 }
18 void set_mem_alias_set () {
19 get_mem_attrs ();
20 }