1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -march=armv8-a+fp -fomit-frame-pointer" } */ 3 4 #pragma GCC target "arch=armv8-a+nofp" 5 long a; 6 static void fn1()7fn1 () 8 { 9 } 10 11 #pragma GCC target "arch=armv8-a+fp" 12 float fn2(float a)13fn2 (float a) 14 { 15 return a + 2.0; 16 } 17 18 /* { dg-final { scan-assembler-not "__addsf3" } } */ 19