[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 2e6d171750b8e14e93d1c80135db151c2afdf89c..57db40d4e75887cdf2058c380a8b90891e2999f9 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 34d9dfd430aabe7443a5e3a6cb3ce4e9fa4d2b82..1672ddfef899154c0e36b3b7ec99bca149d334d3 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.