2 /* Test that pop_options restores the vfp fpu mode. */
3 /* { dg-do compile } */
4 /* { dg-require-effective-target arm_neon_ok } */
5 /* { dg-require-effective-target arm_fp_ok } */
6 /* { dg-options "-O2" } */
7 /* { dg-add-options arm_fp } */
9 #pragma GCC target "fpu=vfp"
11 #pragma GCC push_options
12 #pragma GCC target "fpu=neon-vfpv4"
19 #pragma GCC pop_options
26 /* { dg-final { scan-assembler-times "\.fpu vfp" 1 } } */