summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr40457-2.c
blob: 187f7bf7f844f2816978d3c61473f7359053caa3 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-options "-O2" }  */
/* { dg-do compile } */

void foo(int* p)
{
  p[0] = 1;
  p[1] = 0;
}

/* { dg-final { scan-assembler "stm" } } */