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

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

/* { dg-final { scan-assembler "stm" } } */
OpenPOWER on IntegriCloud