From: Richard Biener Date: Thu, 6 Jul 2023 06:52:46 +0000 (+0200) Subject: Fix expectation on gcc.dg/vect/pr71264.c X-Git-Tag: basepoints/gcc-15~7797 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ab065c3e6950bc4995fcb16cebc5164d6213708;p=thirdparty%2Fgcc.git Fix expectation on gcc.dg/vect/pr71264.c With the recent change to more reliably not vectorize code already using vector types we run into FAILs of gcc.dg/vect/pr71264.c The testcase was added for fixing an ICE and possible (re-)vectorization of the code isn't really supported and I suspect might even go wrong for non-bitops. The following leaves the testcase as just testing for an ICE. PR tree-optimization/110544 * gcc.dg/vect/pr71264.c: Remove scan for vectorization. --- diff --git a/gcc/testsuite/gcc.dg/vect/pr71264.c b/gcc/testsuite/gcc.dg/vect/pr71264.c index 1381e0ed132c..b372c00832a5 100644 --- a/gcc/testsuite/gcc.dg/vect/pr71264.c +++ b/gcc/testsuite/gcc.dg/vect/pr71264.c @@ -1,5 +1,4 @@ /* { dg-do compile } */ -/* { dg-require-effective-target vect_int } */ typedef unsigned char uint8_t; typedef uint8_t footype __attribute__((vector_size(4))); @@ -18,5 +17,3 @@ void test(uint8_t *ptr, uint8_t *mask) __builtin_memcpy(&ptr[i], &temp, sizeof(temp)); } } - -/* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" { xfail { { s390*-*-* sparc*-*-* } || vect32 } } } } */