This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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*-*-*.

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
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]