Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr92706-1.c

raw
1 /* { dg-do compile { target int128 } } */
2 /* { dg-options "-O2 -fdump-tree-esra-details" } */
3
4 struct S { int i[4]; } __attribute__((aligned(128)));
5 typedef __int128_t my_int128 __attribute__((may_alias));
6 __int128_t load (void *p)
7 {
8 struct S v;
9 __builtin_memcpy (&v, p, sizeof (struct S));
10 struct S u;
11 u = v;
12 struct S w;
13 w = u;
14 return *(my_int128 *)&w;
15 }
16
17 /* { dg-final { scan-tree-dump-not "Created a replacement for u offset: \[^0\]" "esra" } } */