diff mbox

[PR,middle-end/38219] Don't test vrp47.c on m68k

Message ID cf366f2b-300b-dda9-153a-16ce4a72cfca@redhat.com
State New
Headers show

Commit Message

Jeff Law Nov. 17, 2016, 11:57 p.m. UTC
AFAICT the m68k was the last target needing twiddling to avoid 
unexpected failures on vrp47.c (from reading comments in the bz).

The m68k (like others already mentioned) breaks the conditionals down 
rather than combining them into a logical with single compare/test.

Fixed in the obvious way and installed on the trunk.

Jeff
commit 1d9211ddf7fcede312120eba696ef143d4f00015
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Nov 17 23:54:46 2016 +0000

    	PR middle-end/38219
    	* gcc.dg/tree-ssa/vrp47.c: Do not run on m68k.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242576 138bc75d-0d04-0410-961f-82ee72b054a4
diff mbox

Patch

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5dd6f56..c039eca 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@ 
 2016-11-17  Jeff Law  <law@redhat.com>
 
+	PR middle-end/38219
+	* gcc.dg/tree-ssa/vrp47.c: Do not run on m68k.
+
 	PR target/47192
 	* gcc.target/m68k/pr47192.c: New test.
 
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c
index beca5fa..28a8808 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp47.c
@@ -3,7 +3,7 @@ 
 /* Skip on S/390.  Lower values in BRANCH_COST lead to two conditional
    jumps when evaluating an && condition.  VRP is not able to optimize
    this.  */
-/* { dg-do compile { target { ! { logical_op_short_circuit || { s390*-*-* mn10300-*-* hppa*-*-* } } } } } */
+/* { dg-do compile { target { ! { logical_op_short_circuit || { s390*-*-* mn10300-*-* hppa*-*-* m68k*-*-* } } } } } */
 /* { dg-options "-O2 -fdump-tree-vrp1 -fdump-tree-dom2 -fdump-tree-vrp2" } */
 /* { dg-additional-options "-march=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */