diff mbox

Committed: skip gcc.dg/pr46309.c for CRIS

Message ID 201401110145.s0B1jBSJ018140@ignucius.se.axis.com
State New
Headers show

Commit Message

Hans-Peter Nilsson Jan. 11, 2014, 1:45 a.m. UTC
> From: Mike Stump <mikestump@comcast.net>
> Date: Sat, 11 Jan 2014 01:55:09 +0100

> On Jan 10, 2014, at 11:26 AM, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> > This patch "fixes" a regression on trunk and the 4.8 branch:
> 
> > Index: gcc/testsuite/gcc.dg/pr46309.c
> > ===================================================================
> > --- gcc/testsuite/gcc.dg/pr46309.c	(revision 206534)
> > +++ gcc/testsuite/gcc.dg/pr46309.c	(working copy)
> > @@ -1,5 +1,5 @@
> > /* PR tree-optimization/46309 */
> > -/* { dg-do compile } */
> > +/* { dg-do compile { target { ! { cris*-*-* } } } } */
> 
> If you could add /* branch cost==1 */ or some such to it, it
> would help others that have ports and see it fail, why this
> might be appropriate to just skip on their target, thanks.
> 

It's already there in the two lines you cut out, isn't it?

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

brgds, H-P
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/pr46309.c
===================================================================
--- gcc/testsuite/gcc.dg/pr46309.c	(revision 206534)
+++ gcc/testsuite/gcc.dg/pr46309.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* PR tree-optimization/46309 */
-/* { dg-do compile } */
+/* { dg-do compile { target { ! { cris*-*-* } } } } */
 /* { dg-options "-O2 -fdump-tree-reassoc-details" } */
 /* The transformation depends on BRANCH_COST being greater than 1
    (see the notes in the PR), so try to force that.  */