summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-17 10:40:06 +0000
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-17 10:40:06 +0000
commit00080ac2c5d4eac9ea05fa98079d1532cbfaf10e (patch)
tree9d24d1285bc441ac2b924c7af90ce29f89b11ca6 /gcc/testsuite
parentfb53b6aa6f411546086989431d4406f4efb65677 (diff)
downloadgcc-00080ac2c5d4eac9ea05fa98079d1532cbfaf10e.tar.gz
[AArch64][tests] Mark vca*_f* tests variable as volatile.
* gcc.target/aarch64/simd/vcaled_f64.c: Mark expected value volatile. * gcc.target/aarch64/simd/vcales_f32.c: Likewise. * gcc.target/aarch64/simd/vcaltd_f64.c: Likewise. * gcc.target/aarch64/simd/vcalts_f32.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212754 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c2
-rw-r--r--gcc/testsuite/gcc.target/aarch64/simd/vcales_f32.c2
-rw-r--r--gcc/testsuite/gcc.target/aarch64/simd/vcaltd_f64.c2
-rw-r--r--gcc/testsuite/gcc.target/aarch64/simd/vcalts_f32.c2
5 files changed, 11 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dadc00941b2..c80cac4ceaa 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * gcc.target/aarch64/simd/vcaled_f64.c: Mark expected value volatile.
+ * gcc.target/aarch64/simd/vcales_f32.c: Likewise.
+ * gcc.target/aarch64/simd/vcaltd_f64.c: Likewise.
+ * gcc.target/aarch64/simd/vcalts_f32.c: Likewise.
+
2014-07-17 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/atomic/c11-atomic-exec-5.c (dg-additional-options): Use
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c b/gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c
index 9ea31d6c0fe..5cb69fe3916 100644
--- a/gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c
+++ b/gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c
@@ -14,7 +14,7 @@ volatile float64_t in[SIZE] = { -10.4, -3.14, 0.0, 1.5, 5.3, 532.3 };
int
main (void)
{
- uint64_t expected;
+ volatile uint64_t expected;
uint64_t actual;
int i, j;
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vcales_f32.c b/gcc/testsuite/gcc.target/aarch64/simd/vcales_f32.c
index a69a096a765..cc87a6352dc 100644
--- a/gcc/testsuite/gcc.target/aarch64/simd/vcales_f32.c
+++ b/gcc/testsuite/gcc.target/aarch64/simd/vcales_f32.c
@@ -14,7 +14,7 @@ volatile float32_t in[SIZE] = { -10.4, -3.14, 0.0, 1.5, 5.3, 532.3 };
int
main (void)
{
- uint32_t expected;
+ volatile uint32_t expected;
uint32_t actual;
int i, j;
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vcaltd_f64.c b/gcc/testsuite/gcc.target/aarch64/simd/vcaltd_f64.c
index fcdd75b6af7..6ae9d8abdd2 100644
--- a/gcc/testsuite/gcc.target/aarch64/simd/vcaltd_f64.c
+++ b/gcc/testsuite/gcc.target/aarch64/simd/vcaltd_f64.c
@@ -14,7 +14,7 @@ volatile float64_t in[SIZE] = { -10.4, -3.14, 0.0, 1.5, 5.3, 532.3 };
int
main (void)
{
- uint64_t expected;
+ volatile uint64_t expected;
uint64_t actual;
int i, j;
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vcalts_f32.c b/gcc/testsuite/gcc.target/aarch64/simd/vcalts_f32.c
index 0799dd74866..88d3eb378ca 100644
--- a/gcc/testsuite/gcc.target/aarch64/simd/vcalts_f32.c
+++ b/gcc/testsuite/gcc.target/aarch64/simd/vcalts_f32.c
@@ -14,7 +14,7 @@ volatile float32_t in[SIZE] = { -10.4, -3.14, 0.0, 1.5, 5.3, 532.3 };
int
main (void)
{
- uint32_t expected;
+ volatile uint32_t expected;
uint32_t actual;
int i, j;