Fix commit for PR target/43920

From-SVN: r172031
This commit is contained in:
Ramana Radhakrishnan 2011-04-06 09:41:07 +00:00 committed by Ramana Radhakrishnan
parent 516426da9f
commit 33abfb6bdb
2 changed files with 4 additions and 21 deletions

View File

@ -1,3 +1,7 @@
2011-04-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* gcc.target/arm/pr43920-1.c: Fix accidental duplication.
2011-04-06 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/return3.adb: New test.

View File

@ -19,24 +19,3 @@ f (int start, int end, int *start_)
/* { 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" } } */