pr46309.c: Set branch cost to greater 1 for avr.
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 13 Jan 2012 10:32:16 +0000 (10:32 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Fri, 13 Jan 2012 10:32:16 +0000 (10:32 +0000)
* gcc.dg/pr46309.c: Set branch cost to greater 1 for avr.

From-SVN: r183151

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

index fe1d5592f179cc06872249209b5275f12bf9b767..b26ac263360cc0db2f1a77438453fd4a3eeee295 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 ba27090201e2440167a88a900e0f0573a25a2689..f567afac75b577cd63e920a9c1959dd02e7f6805 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)