]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: vect: update unaligned message
authorAlexandre Oliva <oliva@adacore.com>
Wed, 27 Apr 2022 21:23:01 +0000 (18:23 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Tue, 3 May 2022 00:39:50 +0000 (21:39 -0300)
gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c covers ppc variants
that accept and reject misaligned accesses.  The message that it
expects for rejection was removed in the gcc-11 development cycle by
commit r11-1969.  The patch adjusted multiple tests to use the message
introduced in r11-1945, but missed this one.

for  gcc/testsuite/ChangeLog

* gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Update
the expected message for the case in which unaligned accesses
are not allowed.

gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c

index 72b4930d9bbbe077016b17a176d4d0751e42cd1c..c57f065cccdd6cba4f96efe777318310415863c9 100644 (file)
@@ -46,5 +46,5 @@ int main (void)
   return main1 ();
 } 
 
-/* { dg-final { scan-tree-dump-times "not vectorized: unsupported unaligned store" 1 "vect" { target { ! vect_hw_misalign } } } } */
+/* { dg-final { scan-tree-dump-times "unsupported unaligned access" 1 "vect" { target { ! vect_hw_misalign } } } } */
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" { target { ! vect_hw_misalign } } } } */