public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] testsuite: Fix pr113431.c FAIL on sparc* [PR113431]
@ 2024-03-15 15:53 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-03-15 15:53 UTC (permalink / raw)
  To: gcc-patches

Hi!

As mentioned in the PR, the new testcase FAILs on sparc*-* due to
lack of support of misaligned store.

This patch restricts that to vect_hw_misalign targets.

Tested on x86_64-linux -m32/-m64, committed to trunk based on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113431#c21 comment.

2024-03-15  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/113431
	* gcc.dg/vect/pr113431.c: Restrict scan-tree-dump-times to
	vect_hw_misalign targets.

--- gcc/testsuite/gcc.dg/vect/pr113431.c.jj	2024-01-18 08:44:33.673916652 +0100
+++ gcc/testsuite/gcc.dg/vect/pr113431.c	2024-03-15 16:46:27.328154091 +0100
@@ -15,4 +15,4 @@ int main()
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target vect_int } } } */
+/* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target { vect_int && vect_hw_misalign } } } } */

	Jakub


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-15 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15 15:53 [committed] testsuite: Fix pr113431.c FAIL on sparc* [PR113431] Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).