From patchwork Fri Apr 10 21:11:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yvan Roux X-Patchwork-Id: 47076 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 77492218D9 for ; Fri, 10 Apr 2015 21:12:06 +0000 (UTC) Received: by lbdc7 with SMTP id c7sf4984466lbd.2 for ; Fri, 10 Apr 2015 14:12:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:mime-version:date:message-id:subject:from:to :content-type:x-original-sender:x-original-authentication-results; bh=1gta5PxIaGCQ8BDeOHShZS/4XjQbs9TvfIqokkxNSAk=; b=REmN+rCpz58Axh91pv05RmuQPDxaG/NrkprPQwF1Vi+wbG2pX9ftLB/ouNfGYsFLb+ dlrkupCAfZpGzDpKwMXHsAkBws9SWYiO8c55x4UCbg3muQsJFE3I7WGcDzZGL7124g3d sUyoC4pLR0xTkxyoolwXxUx7t+dFrhKWKvoBwF67vOHk/vaaAudkNXuN8pT1cieYQ1bW yDml+HfTRUFxMpiMEt4XNuPs2vf6CzPuMIVjVIvN36U8S9dTkiGF9G7T5YGPfGGAQAAl KNuzV5TEZ20fxLIbWtxigmEZ04E3drLtYw7mTknn11ZGlBhYa4bYHVNF0R2NQMjbPdvI ZZZQ== X-Gm-Message-State: ALoCoQnBBAXWT7hgkLymTXBzPf1xzyox2bpNLuoMaRFxUhS1zto2HjPRBo+hQUxliGGECIp4xTZC X-Received: by 10.180.85.129 with SMTP id h1mr111381wiz.6.1428700325419; Fri, 10 Apr 2015 14:12:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.131 with SMTP id s3ls454655las.65.gmail; Fri, 10 Apr 2015 14:12:05 -0700 (PDT) X-Received: by 10.112.54.165 with SMTP id k5mr3093913lbp.57.1428700325192; Fri, 10 Apr 2015 14:12:05 -0700 (PDT) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com. [2a00:1450:4010:c04::236]) by mx.google.com with ESMTPS id g7si2372297lbd.52.2015.04.10.14.12.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 14:12:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::236 as permitted sender) client-ip=2a00:1450:4010:c04::236; Received: by lbbqq2 with SMTP id qq2so22489054lbb.3 for ; Fri, 10 Apr 2015 14:12:05 -0700 (PDT) X-Received: by 10.112.119.234 with SMTP id kx10mr3132394lbb.35.1428700324921; Fri, 10 Apr 2015 14:12:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp6818lbt; Fri, 10 Apr 2015 14:12:03 -0700 (PDT) X-Received: by 10.68.136.133 with SMTP id qa5mr5800180pbb.105.1428700322837; Fri, 10 Apr 2015 14:12:02 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ux6si4554166pac.62.2015.04.10.14.12.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Apr 2015 14:12:02 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-394937-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 113210 invoked by alias); 10 Apr 2015 21:11:50 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 113199 invoked by uid 89); 10 Apr 2015 21:11:49 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f172.google.com Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com) (209.85.212.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 10 Apr 2015 21:11:48 +0000 Received: by wizk4 with SMTP id k4so10213324wiz.1 for ; Fri, 10 Apr 2015 14:11:45 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.59.4 with SMTP id v4mr6538301wjq.54.1428700305863; Fri, 10 Apr 2015 14:11:45 -0700 (PDT) Received: by 10.28.4.204 with HTTP; Fri, 10 Apr 2015 14:11:45 -0700 (PDT) Date: Fri, 10 Apr 2015 23:11:45 +0200 Message-ID: Subject: [Committed] PR65647 Add Missing testcase on trunk From: Yvan Roux To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes X-Original-Sender: yvan.roux@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::236 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 Hi, this patch adds the second testcase that was committed in 4.9 for PR65647 on trunk. Committed as rev 221981 and ChangeLog typos are fixed in 221982 and 221993 :/ 2015-04-10 Yvan Roux PR target/65647 * gcc.target/arm/pr65647-2.c: New. diff --git a/gcc/testsuite/gcc.target/arm/pr65647-2.c b/gcc/testsuite/gcc.target/arm/pr65647-2.c new file mode 100644 index 0000000..f2985f8 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/pr65647-2.c @@ -0,0 +1,32 @@ +/* { dg-do compile } */ +/* { dg-options "-O3 -marm -march=armv6 -std=c99" } */ + +typedef struct { + int i; +} x264_union32_t; +typedef struct { + int level_idx; +} trellis_node_t; +int a, c, d, f, h, i = (int)&c; +trellis_node_t b[1][1]; +short *e = 0; +short g; +void fn1() { + int k[64 * 8 * 2]; + trellis_node_t *l = b[0]; + for (; i >= d; i--) { + if (e[i]) { + for (int j = 1; j < 8; j++) { + ((x264_union32_t *)&k[a])->i = l[j].level_idx; + l[j].level_idx = a; + a++; + } + continue; + } + for (int j;; j++) + ; + } + int m[6] __attribute__((aligned(16))); + for (; h; h++, f++) + g = m[h]; +}