From: Steve Ellcey Date: Mon, 11 May 2015 18:01:13 +0000 (+0000) Subject: * gcc.target/mips/branch-1.c: Pass argument to bar(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=263444332ae2c81e12aedce26bfef5773c5b7b94;p=gcc.git * gcc.target/mips/branch-1.c: Pass argument to bar(). From-SVN: r223010 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e5fda8b9f3d..4dd6efcec51 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-05-11 Steve Ellcey + + * gcc.target/mips/branch-1.c: Pass argument to bar(). + 2015-05-11 Alexander Monakov PR target/65753 diff --git a/gcc/testsuite/gcc.target/mips/branch-1.c b/gcc/testsuite/gcc.target/mips/branch-1.c index 6ef50e8a187..83d7180f2dd 100644 --- a/gcc/testsuite/gcc.target/mips/branch-1.c +++ b/gcc/testsuite/gcc.target/mips/branch-1.c @@ -4,11 +4,11 @@ on zero. */ /* { dg-options "forbid_cpu=octeon.*" } */ -void bar (void); -NOMIPS16 void f1 (int x) { if (x & 4) bar (); } -NOMIPS16 void f2 (int x) { if ((x >> 2) & 1) bar (); } -NOMIPS16 void f3 (unsigned int x) { if (x & 0x10) bar (); } -NOMIPS16 void f4 (unsigned int x) { if ((x >> 4) & 1) bar (); } +void bar (int); +NOMIPS16 void f1 (int x) { if (x & 4) bar (1); } +NOMIPS16 void f2 (int x) { if ((x >> 2) & 1) bar (2); } +NOMIPS16 void f3 (unsigned int x) { if (x & 0x10) bar (3); } +NOMIPS16 void f4 (unsigned int x) { if ((x >> 4) & 1) bar (4); } /* { dg-final { scan-assembler "\tandi\t.*\tandi\t.*\tandi\t.*\tandi\t" } } */ /* { dg-final { scan-assembler-not "\tsrl\t" } } */ /* { dg-final { scan-assembler-not "\tsra\t" } } */