blob: f2a317b2816280d2f009cbe0b9da6b0bb0462c87 [file] [log] [blame]
/* { dg-do compile } */
typedef volatile struct {
int a;
char *b;
} __attribute__((uncached)) my_type_t;
my_type_t x;
void foo (my_type_t *p)
{
p->a = 10;
p->b = 0;
}
void bar (void)
{
x.a = 10;
x.b = 0;
}
/* { dg-final { scan-assembler-times "st\.di" 4 } } */