[AArch64][test] Mark variable as volatile in vsqrt_f64 test
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 27 Nov 2014 10:02:19 +0000 (10:02 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 27 Nov 2014 10:02:19 +0000 (10:02 +0000)
* gcc.target/aarch64/simd/vsqrt_f64_1.c: Mark variable volatile.

From-SVN: r218117

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/simd/vsqrt_f64_1.c

index 5fc10c2b7940a356c3c1848616c3256ce53ebe54..db8d4ff24c532082850579cc2bf7e62b2eb52b5e 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-27  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gcc.target/aarch64/simd/vsqrt_f64_1.c: Mark variable volatile.
+
 2014-11-27  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/64083
index 57fb6bb48ebdd8699ed1a7acc888ea971ed67340..7f99bd5a4fe008c542788a72fe1509c2b0d06bc2 100644 (file)
@@ -11,7 +11,7 @@ extern void abort (void);
 int
 main (void)
 {
-  float64x1_t in = vcreate_f64(0x3febd3e560634d7bULL);
+  volatile float64x1_t in = vcreate_f64(0x3febd3e560634d7bULL);
   float64x1_t result = vsqrt_f64 (in);
   float64_t expected = 0.9325321502142351;