PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / vfp-stmdbs.c
blobdbb30ecd6bc8e4610f4b6252b8aa7f1b703fc235
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp_ok } */
3 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
4 /* { dg-options "-O2" } */
5 /* { dg-add-options arm_fp } */
7 void
8 foo (float *p, float a, float b, int n)
10 float c = a + b;
12 *--p = c;
13 while (n--);
16 /* { dg-final { scan-assembler "vstmdb.32" } } */