Hi,

I've committed the following patch under the obvious rule for the testcase for PR43920. There seemed to have been an accidental duplication of the function in the patch committed.

Tested in a cross compiler to arm-linux-gnueabi with just that test to armv7-a and made sure that it passes.

cheers
Ramana


2011-04-06  Ramana Radhakrishnan  <ramana.radhakrish...@linaro.org>

        * gcc.target/arm/pr43920-1.c: Fix accidental duplication.
Index: gcc/testsuite/gcc.target/arm/pr43920-1.c
===================================================================
--- gcc/testsuite/gcc.target/arm/pr43920-1.c    (revision 172030)
+++ gcc/testsuite/gcc.target/arm/pr43920-1.c    (working copy)
@@ -19,24 +19,3 @@
 /* { dg-final { scan-assembler-times "\torr" 0 } } */
 /* { dg-final { scan-assembler-times "\tit\t" 0 } } */
 /* { dg-final { scan-assembler "\tbeq" } } */
-/* { dg-do compile } */
-/* { dg-options "-mthumb -Os" }  */
-/* { dg-require-effective-target arm_thumb2_ok } */
-
-int
-f (int start, int end, int *start_)
-{
-  if (start == -1 || end == -1)
-    return -1;
-
-  if (end - start)
-    return -1;
-
-  *start_ = start;
-
-  return 0;
-}
-
-/* { dg-final { scan-assembler-times "\torr" 0 } } */
-/* { dg-final { scan-assembler-times "\tit\t" 0 } } */
-/* { dg-final { scan-assembler "\tbeq" } } */

Reply via email to