From patchwork Wed Apr 6 09:44:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramana Radhakrishnan X-Patchwork-Id: 911 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:47:19 -0000 Delivered-To: patches@linaro.org Received: by 10.204.151.92 with SMTP id b28cs11314bkw; Wed, 6 Apr 2011 02:44:04 -0700 (PDT) Received: by 10.216.145.206 with SMTP id p56mr3141776wej.80.1302083044253; Wed, 06 Apr 2011 02:44:04 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id n45si748105wer.205.2011.04.06.02.44.03 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2011 02:44:03 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of ramana.radhakrishnan@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of ramana.radhakrishnan@linaro.org) smtp.mail=ramana.radhakrishnan@linaro.org Received: by wyb33 with SMTP id 33so1343558wyb.37 for ; Wed, 06 Apr 2011 02:44:03 -0700 (PDT) Received: by 10.227.130.99 with SMTP id r35mr770458wbs.221.1302083042300; Wed, 06 Apr 2011 02:44:02 -0700 (PDT) Received: from [192.168.32.36] (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id x1sm238828wbh.2.2011.04.06.02.44.01 (version=SSLv3 cipher=OTHER); Wed, 06 Apr 2011 02:44:01 -0700 (PDT) Message-ID: <4D9C35E0.8090704@linaro.org> Date: Wed, 06 Apr 2011 10:44:00 +0100 From: Ramana Radhakrishnan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: gcc-patches CC: patches@linaro.org Subject: [Patch ARM] Committed fix for PR43920 testcase 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 * 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" } } */