1 2 3 4 5 6 7 8 9 10 11
/* { dg-options "-Os" } */ /* { dg-do compile } */ void foo(int* p) { p[0] = 1; p[1] = 0; p[2] = 2; } /* { dg-final { scan-assembler "stm" } } */