blob: 483b79ace6c8de465205725a8efc24af04314e4c [file] [log] [blame]
/* Verify pattern initialization for structure type automatic variables with
padding. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=pattern -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 "0xfffffffffffffffe\\\]\\\) repeated x16" 1 "expand" } } */