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 "-march=armv7-a -O1" } */
5 /* { dg-add-options arm_fp } */
13 return (double)(float)x
;
19 return (float)(double)x
;
22 /* { dg-final { scan-assembler-not "vcvt.(f32.f64|f64.f32)" } } */