]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR tree-optimization/84232 (gcc.dg/tree-ssa/ssa-dom-cse-2.c fail with -march=silve...
authorJakub Jelinek <jakub@redhat.com>
Fri, 9 Feb 2018 06:44:43 +0000 (07:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Feb 2018 06:44:43 +0000 (07:44 +0100)
PR tree-optimization/84232
* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Add -mtune-generic on x86.

From-SVN: r257516

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c

index 12ccc31349333c6f80213c717e2c08cedc9b403f..f92919ca03ca26789bd7f1a253556029434a05ef 100644 (file)
@@ -1,5 +1,8 @@
 2018-02-09  Jakub Jelinek  <jakub@redhat.com>
 
+       PR tree-optimization/84232
+       * gcc.dg/tree-ssa/ssa-dom-cse-2.c: Add -mtune-generic on x86.
+
        PR debug/84252
        * gcc.target/aarch64/pr84252.c: New test.
 
index 8606969e0940c36d6ba23f8e213b2fd4f5c1d52d..e4daa9d4ff38304ef9cf8db02a246bbb9bfa1486 100644 (file)
@@ -2,8 +2,10 @@
 /* { dg-options "-O3 -fno-tree-fre -fno-tree-pre -fdump-tree-optimized --param sra-max-scalarization-size-Ospeed=32" } */
 /* System Z needs hardware vector support for this to work (the optimization
    gets too complex without it.
-   { dg-additional-options "-march=z13" { target { s390x-*-* } } } */
-
+   { dg-additional-options "-march=z13" { target s390x-*-* } } */
+/* Use generic tuning on x86 for the same reasons as why alpha, powerpc etc. are
+   xfailed below.
+   { dg-additional-options "-mtune=generic" { target i?86-*-* x86_64-*-* } } */
 
 int
 foo ()