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

int bar(int* p)
{
  int x = p[0] + p[1];
  return x;
}

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