On 05/20/2015 11:12 PM, Sandra Loosemore wrote:
On targets such as ARM, some arches are compatible with options needed
to enable compilation with vectorization, but the specific hardware (or
simulator or BSP) available for execution tests may not implement or
enable those features.  The vect.exp test harness already includes some
magic to determine whether the target hw can execute vectorized code and
sets dg-do-what-default to compile the tests only if they can't be
executed.  It's a mistake for individual tests to explicitly say "dg-do
run" because this overrides the harness's magic default and forces the
test to be executed, even if doing so just ends up wedging the target.

I already committed two patches last fall (r215627 and r218427) to
address this, but people keep adding new vect test cases with the same
problem, so here is yet another installment to clean them up.  I tested
this on arm-none-eabi with a fairly large collection of multilibs.  OK
to commit?

-Sandra


vect.log


2015-05-20  Sandra Loosemore<san...@codesourcery.com>

        gcc/testsuite/
        * gcc.dg/vect/bb-slp-pr65935.c: Remove explicit "dg-do run".
        * gcc.dg/vect/pr59354.c: Likewise.
        * gcc.dg/vect/pr64252.c: Likewise.
        * gcc.dg/vect/pr64404.c: Likewise.
        * gcc.dg/vect/pr64493.c: Likewise.
        * gcc.dg/vect/pr64495.c: Likewise.
        * gcc.dg/vect/pr64844.c: Likewise.
        * gcc.dg/vect/pr65518.c: Likewise.
        * gcc.dg/vect/vect-aggressive-1.c: Likewise.
OK.
jeff

Reply via email to