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