diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-04-02 10:07:50 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-04-02 10:07:50 +0200 |
commit | e53c0696113cced90561e79ade27445f6c0926d0 (patch) | |
tree | fda546fe7a65e026c19e92d9b4e8be8b11a55f3c /gcc | |
parent | f1607029aea3043f7bd4f86c005e0997795f5ffd (diff) | |
download | gcc-e53c0696113cced90561e79ade27445f6c0926d0.zip gcc-e53c0696113cced90561e79ade27445f6c0926d0.tar.gz gcc-e53c0696113cced90561e79ade27445f6c0926d0.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr99726.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr99726.c b/gcc/testsuite/gcc.target/i386/pr99726.c index ff19bca..98ccce6 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; |