diff mbox

[testsuite] Make powerpc*-*-* a logical_op_short_circuit target

Message ID 53BD6D43.7040504@linux.vnet.ibm.com
State New
Headers show

Commit Message

Pat Haugen July 9, 2014, 4:26 p.m. UTC
Since rs6000.h defines LOGICAL_OP_NON_SHORT_CIRCUIT to 0, powerpc*-*-* 
should be a logical_op_short_circuit target. This fixes the following 
failures.

< FAIL: gcc.dg/binop-xor1.c scan-tree-dump-times optimized "\\\\^" 1
< FAIL: gcc.dg/tree-ssa/ssa-dom-thread-4.c scan-tree-dump-times dom1 
"Threaded" 3
< FAIL: gcc.dg/tree-ssa/vrp47.c scan-tree-dump-times vrp1 "[xy][^ ]* !=" 0

Committed as obvious.


2014-07-09  Pat Haugen  <pthaugen@us.ibm.com>

     * lib/target-supports.exp
     (check_effective_target_logical_op_short_circuit): Add powerpc*-*-*.
diff mbox

Patch

Index: lib/target-supports.exp
===================================================================
--- lib/target-supports.exp    (revision 212363)
+++ lib/target-supports.exp    (working copy)
@@ -5935,6 +5935,7 @@  proc check_effective_target_logical_op_s
       || [istarget crisv32-*-*] || [istarget cris-*-*]
       || [istarget mmix-*-*]
       || [istarget s390*-*-*]
+     || [istarget powerpc*-*-*]
       || [check_effective_target_arm_cortex_m] } {
      return 1
      }