2015-04-20 Yvan Roux <yvan.roux@linaro.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr65729.c
blob85383b02eb5f2126e90b3215ec642c1427b87240
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_hard_vfp_ok } */
3 /* { dg-options "-O2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16" } */
5 int foo (void)
7 double x = 0.0;
8 asm volatile ("" : "+gw" (x));
9 return x;