summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/arm/pr40457-3.c
blob: 5e54124254fed4d98484c11c3dafba1a2f56ee5c (plain)
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" } } */
OpenPOWER on IntegriCloud