diff mbox

[testsuite,mips] Fix gcc.dg/tree-ssa/ssa-ifcombine-13.c

Message ID 32e0d861-7b42-4e83-89f5-bb2a4aa5b435@BAMAIL02.ba.imgtec.org
State New
Headers show

Commit Message

Steve Ellcey April 8, 2014, 8:48 p.m. UTC
The test gcc.dg/tree-ssa/ssa-ifcombine-13.c has been failing on MIPS ever
since it was added because MIPS sets LOGICAL_OP_NON_SHORT_CIRCUIT to 0 and
so the optimization being checked for is not done.  This patch removes
mips from the list of platforms where we check for the optimization.

Tested on mips-mti-elf.  OK for checkin?

Steve Ellcey
sellcey@mips.com


2014-04-01  Steve Ellcey  <sellcey@mips.com>

	* gcc.dg/tree-ssa/ssa-ifcombine-13.c: Remove mips*-*-* from option
	and scan lists.

Comments

Jakub Jelinek April 8, 2014, 9:07 p.m. UTC | #1
On Tue, Apr 08, 2014 at 01:48:21PM -0700, Steve Ellcey  wrote:
> The test gcc.dg/tree-ssa/ssa-ifcombine-13.c has been failing on MIPS ever
> since it was added because MIPS sets LOGICAL_OP_NON_SHORT_CIRCUIT to 0 and
> so the optimization being checked for is not done.  This patch removes
> mips from the list of platforms where we check for the optimization.
> 
> Tested on mips-mti-elf.  OK for checkin?
> 
> Steve Ellcey
> sellcey@mips.com
> 
> 
> 2014-04-01  Steve Ellcey  <sellcey@mips.com>
> 
> 	* gcc.dg/tree-ssa/ssa-ifcombine-13.c: Remove mips*-*-* from option
> 	and scan lists.

Ok, thanks.

	Jakub
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-13.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-13.c
index 19f892e..43b92c1 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-13.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ifcombine-13.c
@@ -1,6 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O1 -fdump-tree-optimized" } */
-/* { dg-additional-options "-mbranch-cost=2" { target { i?86-*-* x86_64-*-* mips*-*-* s390*-*-* avr*-*-* } } } */
+/* { dg-additional-options "-mbranch-cost=2" { target { i?86-*-* x86_64-*-* s390*-*-* avr*-*-* } } } */
 
 _Bool f1(_Bool a, _Bool b)
 {
@@ -17,5 +17,5 @@  _Bool f1(_Bool a, _Bool b)
 
 /* For LOGICAL_OP_NON_SHORT_CIRCUIT, this should be optimized
    into return a & b;, with no ifs.  */
-/* { dg-final { scan-tree-dump-not "if" "optimized" { target { i?86-*-* x86_64-*-* mips*-*-* s390*-*-* avr*-*-* } } } } */
+/* { dg-final { scan-tree-dump-not "if" "optimized" { target { i?86-*-* x86_64-*-* s390*-*-* avr*-*-* } } } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */