[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / store-pair-1.c
blobb8e762b5f0587ed03d5c8c7b42ad4b5e6d9ebada
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mcpu=generic" } */
4 int f(int *a, int b)
6 a[28] = 0;
7 a[29] = b;
8 a[31] = 0;
11 /* We should be able to produce store pair for the store of 28/29 store. */
12 /* { dg-final { scan-assembler "stp\tw(\[0-9\]+)\|(zr), w\[0-9\]+" } } */