The glob in g++.dg/vect/vect.exp was not catching the file and
the special option that was intended to be used no longer exists.
I've simplified the situation by renaming the test and fixing it
for the obvious out-of-bound access that is diagnosed. The test
likely doesn't test anything anymore, but probably better than
simply removing it.
* g++.dg/vect/vect.exp: Remove param-max-aliased-* handling.
* g++.dg/vect/param-max-aliased-pr26197.cc: Rename to ...
* g++.dg/vect/pr26197.cc: ... this and fixup array overflow.
void g(const void*);
struct B
{
- int* x[2];
+ int* x[4];
int *p;
B()
{
global SAVED_DEFAULT_VECTCFLAGS
set SAVED_DEFAULT_VECTCFLAGS $DEFAULT_VECTCFLAGS
-# --param max-aliased-vops=0
-set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
-lappend DEFAULT_VECTCFLAGS "--param max-aliased-vops=0"
-et-dg-runtest g++-dg-runtest [lsort [glob -nocomplain \
- $srcdir/$subdir/param-max-aliased*.\[cS\]]] "" $DEFAULT_VECTCFLAGS
-
# Clean up.
set dg-do-what-default ${save-dg-do-what-default}