re PR tree-optimization/88285 (gcc.dg/predict-22.c fails on arm)
authorJakub Jelinek <jakub@redhat.com>
Tue, 4 Dec 2018 13:15:46 +0000 (14:15 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 4 Dec 2018 13:15:46 +0000 (14:15 +0100)
PR tree-optimization/88285
* gcc.dg/predict-22.c: Only compile on freorder targets.

From-SVN: r266776

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/predict-22.c

index 2c7e3a9..0a72b5f 100644 (file)
@@ -1,3 +1,8 @@
+2018-12-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/88285
+       * gcc.dg/predict-22.c: Only compile on freorder targets.
+
 2018-12-04  Julian Brown  <julian@codesourcery.com>
 
        * c-c++-common/goacc/asyncwait-1: Update expected errors and add a
index a613d26..f14c2b6 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target freorder } } */
 /* { dg-options "-O2 -fdump-tree-optimized-details-blocks -fdump-rtl-bbpart-details-blocks -freorder-blocks-and-partition" } */
 volatile int v;
 void bar (void) __attribute__((leaf, cold));