Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / peep-ldrd-2.c
blob6822c2b1454efd8ec54f281b81fa814bf19b1956
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_prefer_ldrd_strd } */
3 /* { dg-options "-O2 -mno-unaligned-access" } */
4 int foo(int a, int b, int* p, int *q)
6 a = p[2] + p[3];
7 *q = a;
8 *p = a;
9 return a;
11 /* { dg-final { scan-assembler-not "ldrd\\t" } } */