testsuite: Require fgraphite effective target for pr106737.c test [PR106737]

Message ID YwnIF5Fo6LkAHPfJ@tucnak
State New, archived
Headers
Series testsuite: Require fgraphite effective target for pr106737.c test [PR106737] |

Commit Message

Jakub Jelinek Aug. 27, 2022, 7:30 a.m. UTC
  On Thu, Aug 25, 2022 at 10:44:32AM +0200, Richard Biener via Gcc-patches wrote:
> 	* gcc.dg/autopar/pr106737.c: New testcase.

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

Fixed thusly, tested on x86_64-linux (where it PASSed for me before and
keeps PASSing) and on i686-linux (where it FAILed and now is UNSUPPORTED
as I don't have 32-bit libisl installed), committed to trunk as obvious.

2022-08-27  Jakub Jelinek  <jakub@redhat.com>

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


	Jakub
  

Patch

--- gcc/testsuite/gcc.dg/autopar/pr106737.c.jj	2022-08-25 20:34:49.333893224 +0200
+++ gcc/testsuite/gcc.dg/autopar/pr106737.c	2022-08-27 09:22:07.141807077 +0200
@@ -1,4 +1,4 @@ 
-/* { dg-do compile } */
+/* { dg-do compile { target fgraphite } } */
 /* { dg-options "-O -floop-parallelize-all -ftree-parallelize-loops=2 -fno-tree-dce" } */
 
 void