Since the PR43949 fix was backported to 4_5-branch I'm seeing

FAIL: gcc.dg/vect/slp-perm-5.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/slp-perm-6.c scan-tree-dump-times vect "vectorized 1 loops" 1

in testsuite results on powerpc64-linux.  They also fail on trunk since PR43949
was fixed there.

Before the PR43949 fix we had one "vectorized 1 loops" message in slp-perm-5:

> fgrep 'vectorized 1 loops' slp-perm-5.c.110t.vect
slp-perm-5.c:24: note: vectorized 1 loops in function.

but after the fix we have two:

> fgrep 'vectorized 1 loops' slp-perm-5.c.110t.vect
slp-perm-5.c:24: note: vectorized 1 loops in function.
slp-perm-5.c:47: note: vectorized 1 loops in function.

Since scan-tree-dump-times .. 1 .. expects exactly one such message, the test
case is now considered to have failed.

Perhaps artificially prevent the other loop from ever being vectorized?


-- 
           Summary: [4.5/4.6 regression] PR43949 fix caused gcc.dg/vect/slp-
                    perm-{5,6}.c to fail
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikpe at it dot uu dot se
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44538

Reply via email to