Message ID | 53BE471B.5040203@arm.com |
---|---|
State | New |
Headers | show |
On 10 July 2014 08:56, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote: > > On 02/07/14 08:59, Christophe Lyon wrote: >> >> Hi, >> >> It seems some of the scan-assembler directives fail: >> >> http://cbuild.validation.linaro.org/build/cross-validation/gcc/trunk/212196/aarch64-none-elf/diff-gcc-rh50-aarch64-none-elf-default-default-default.txt >> >> Christophe. > > > This patch should fix the tests by marking the appropriate variable > volatile. > Sorry for the delay and breakage. > Ok for trunk? OK /Marcus
diff --git a/gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c b/gcc/testsuite/gcc.target/aarch64/simd/vcaled_f64.c index 9ea31d6..5cb69fe 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 a69a096..cc87a63 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 fcdd75b..6ae9d8a 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 0799dd7..88d3eb3 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;