Require fgraphite effective target for pr107153.c test [PR107153]

Message ID Y0Puy8QL8/9zgNXp@tucnak
State New, archived
Headers
Series Require fgraphite effective target for pr107153.c test [PR107153] |

Commit Message

Jakub Jelinek Oct. 10, 2022, 10:07 a.m. UTC
  Hi!

On Fri, Oct 07, 2022 at 02:26:56PM +0200, Richard Biener via Gcc-patches wrote:
> 	* gcc.dg/autopar/pr107153.c: New testcase.

The test uses -floop-parallelize-all which emits a sorry when graphite
isn't configured in.

Tested on x86_64-linux and i686-linux, committed to trunk as obvious.

2022-10-10  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/107153
	* gcc.dg/autopar/pr107153.c: Require fgraphite effective target.



	Jakub
  

Patch

--- gcc/testsuite/gcc.dg/autopar/pr107153.c.jj	2022-10-10 09:31:57.664981573 +0200
+++ gcc/testsuite/gcc.dg/autopar/pr107153.c	2022-10-10 11:59:00.365605619 +0200
@@ -1,4 +1,4 @@ 
-/* { dg-do compile } */
+/* { dg-do compile { target fgraphite } } */
 /* { dg-options "-O1 -floop-parallelize-all -ftree-parallelize-loops=2 -fno-tree-dominator-opts" } */
 
 void