testsuite: Fix up gcc.target/i386/pr99726.c test [PR99726]

-m32 shouldn't be used in gcc.target/i386/ testcases, people do
test with -m32/-m64 to get 32-bit compilation tested.
And, -floop-nest-optimize is a graphite optimization, so might not
be enabled in all gcc builds.

2021-04-02  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/99726
	* gcc.target/i386/pr99726.c: Remove -m32 from dg-options.  Move
	-floop-nest-optimize to dg-additional-options guarded on fgraphite
	effective target.
This commit is contained in:
Jakub Jelinek 2021-04-02 10:07:50 +02:00
parent f1607029ae
commit e53c069611
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
/* { dg-options "-flive-patching=inline-clone -mavx512f -O2 -floop-nest-optimize -ftree-loop-vectorize -ftrapv -m32" } */
/* { dg-options "-flive-patching=inline-clone -mavx512f -O2 -ftree-loop-vectorize -ftrapv" } */
/* { dg-additional-options "-floop-nest-optimize" { target fgraphite } } */
extern int a[256][1024];
int b;