1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 
4 /* This tests checks if we use st w6,[reg] format.  */
5 
6 typedef struct {
7   unsigned long __val[2];
8 } sigset_t;
9 
sigemptyset2(sigset_t * set)10 int sigemptyset2 (sigset_t *set)
11 {
12   set->__val[0] = 0;
13   set->__val[1] = 0;
14   return 0;
15 }
16 
17 /* { dg-final { scan-assembler-times "st 0,\\\[r" 2 } } */
18