public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-7957] testsuite: Fix up gcc.target/i386/pr99726.c test [PR99726]
@ 2021-04-02 8:09 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-04-02 8:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e53c0696113cced90561e79ade27445f6c0926d0
commit r11-7957-ge53c0696113cced90561e79ade27445f6c0926d0
Author: Jakub Jelinek <jakub@redhat.com>
Date: Fri Apr 2 10:07:50 2021 +0200
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.
Diff:
---
gcc/testsuite/gcc.target/i386/pr99726.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/i386/pr99726.c b/gcc/testsuite/gcc.target/i386/pr99726.c
index ff19bcabe4f..98ccce6a979 100644
--- a/gcc/testsuite/gcc.target/i386/pr99726.c
+++ b/gcc/testsuite/gcc.target/i386/pr99726.c
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-02 8:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 8:09 [gcc r11-7957] testsuite: Fix up gcc.target/i386/pr99726.c test [PR99726] 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).