Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr69574.c

raw
1 /* { dg-do compile } */
2
3 typedef unsigned mytype;
4
5 struct S {
6 mytype *pu;
7 };
8
9 mytype f(struct S *e)
10 {
11 mytype x;
12 if(&x != e->pu)
13 __builtin_memcpy(&x, e->pu, sizeof(unsigned));
14 return x;
15 }