[AArch64] Run general SVE ACLE tests for C
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 2 Dec 2019 17:44:30 +0000 (17:44 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 2 Dec 2019 17:44:30 +0000 (17:44 +0000)
Now that the C frontend can cope with POLY_INT_CST-length initialisers,
we can make aarch64-sve-acle.exp run the full set of tests.  This will
introduce new failures for -mabi=ilp32; I'll make the testsuite ILP32
clean separately.

2019-12-02  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
* gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp: Run the
general/* tests too.

From-SVN: r278908

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp

index 2e6d171..57db40d 100644 (file)
@@ -1,5 +1,10 @@
 2019-12-02  Richard Sandiford  <richard.sandiford@arm.com>
 
+       * gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp: Run the
+       general/* tests too.
+
+2019-12-02  Richard Sandiford  <richard.sandiford@arm.com>
+
        * gcc.target/aarch64/sve/acle/general/eqne_dup_1.c: New test.
        * gcc.target/aarch64/sve/acle/asm/dup_f16.c (dup_0_f16_z): Expect
        the call to be folded to zero.
index 34d9dfd..1672ddf 100644 (file)
@@ -45,9 +45,9 @@ if { [check_effective_target_aarch64_sve] } {
 }
 
 # Main loop.
-# FIXME: This should include general/*.c too, but leave that until the
-# C frontend allows initialization of SVE vectors.
-set files [glob -nocomplain $srcdir/$subdir/general-c/*.c]
+set files [glob -nocomplain \
+              "$srcdir/$subdir/general/*.c" \
+              "$srcdir/$subdir/general-c/*.c"]
 dg-runtest [lsort $files] "$sve_flags" $DEFAULT_CFLAGS
 
 # All done.