OSDN Git Service

* gcc.dg/pr46309.c: Set branch cost to greater 1 for avr.
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2012 10:32:16 +0000 (10:32 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2012 10:32:16 +0000 (10:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183151 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46309.c

index fe1d559..b26ac26 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-13  Georg-Johann Lay  <avr@gjlay.de>
+
+       * gcc.dg/pr46309.c: Set branch cost to greater 1 for avr.
+
 2012-01-12  Jason Merrill  <jason@redhat.com>
 
        PR c++/51714
index ba27090..f567afa 100644 (file)
@@ -4,6 +4,7 @@
 /* The transformation depends on BRANCH_COST being greater than 1
    (see the notes in the PR), so try to force that.  */
 /* { dg-additional-options "-mtune=octeon2" { target mips*-*-* } } */
+/* { dg-additional-options "-mbranch-cost=2" { target avr*-*-* } } */
 
 int
 f1 (int a)