From 687a5d7c39dad8a9209ef3d90bef5b4de32b0b91 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Thu, 27 Nov 2014 10:02:19 +0000 Subject: [PATCH] [AArch64][test] Mark variable as volatile in vsqrt_f64 test * gcc.target/aarch64/simd/vsqrt_f64_1.c: Mark variable volatile. From-SVN: r218117 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/aarch64/simd/vsqrt_f64_1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5fc10c2b794..db8d4ff24c5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-11-27 Kyrylo Tkachov + + * gcc.target/aarch64/simd/vsqrt_f64_1.c: Mark variable volatile. + 2014-11-27 Richard Biener PR tree-optimization/64083 diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vsqrt_f64_1.c b/gcc/testsuite/gcc.target/aarch64/simd/vsqrt_f64_1.c index 57fb6bb48eb..7f99bd5a4fe 100644 --- a/gcc/testsuite/gcc.target/aarch64/simd/vsqrt_f64_1.c +++ b/gcc/testsuite/gcc.target/aarch64/simd/vsqrt_f64_1.c @@ -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; -- 2.30.2