[committed,AArch64] Run general SVE ACLE tests for C

Message ID mpty2vumxj2.fsf@arm.com
State New
Headers show
Series
  • [committed,AArch64] Run general SVE ACLE tests for C
Related show

Commit Message

Richard Sandiford Dec. 2, 2019, 5:45 p.m.
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.

Tested on aarch64-linux-gnu and applied as r278908.

Richard


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.

Patch

Index: gcc/testsuite/gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp
===================================================================
--- gcc/testsuite/gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp	2019-10-29 08:59:18.431479432 +0000
+++ gcc/testsuite/gcc.target/aarch64/sve/acle/aarch64-sve-acle.exp	2019-12-02 17:44:20.257966719 +0000
@@ -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.