Debian Codegraph @

gcc/testsuite/gcc.target/i386/auto-init-padding-2.c

raw
1 /* Verify pattern initialization for structure type automatic variables with
2 padding. */
3 /* { dg-do compile } */
4 /* { dg-options "-ftrivial-auto-var-init=pattern -fdump-rtl-expand -march=x86-64 -mtune=generic -msse" } */
5
6 struct test_aligned {
7 int internal1;
8 long long internal2;
9 } __attribute__ ((aligned(64)));
10
11 int foo ()
12 {
13 struct test_aligned var;
14 return var.internal1;
15 }
16
17 /* { dg-final { scan-rtl-dump-times "0xfffffffffffffffe\\\]\\\) repeated x16" 1 "expand" } } */
18
19