From patchwork Tue Jun 16 10:09:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 49956 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 036F7228F8 for ; Tue, 16 Jun 2015 10:10:26 +0000 (UTC) Received: by wizw5 with SMTP id w5sf3854789wiz.2 for ; Tue, 16 Jun 2015 03:10:25 -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=FiuN35nTpw/16w7zy2vxvlV+HBdh+DjAixjwFOlHh6g=; b=P5KnNKBhZlWNrKCxBj3O49BTGh5YGU3sezpB868UdJlU4nfQOuWIqeKt0UGmoDwJi3 5MYZpoBjHUdizkhV5/+0V96Ze5RqxDnsdhxpf3qbPkXAVa5QYbcai50amceA39MFE0bl OKSDD6E32ou4Duf6nQba/NAjZd9/z2TK2P6hGouiF0kwXLimrTW+mMPb9kTfWgnKIPqp DPHsaEe0uygA7sp5VEUQ76zdQzcIfbRX7Iwf2w821GK0Gpj6nbUYJU8JrSVFLCa/TAqG Iye4ErRuogo3UyAmlfMc5ifTCGWS60MYeRXDIT6pSKFFSZQK67w1dqWHkGcciKl2130t grGA== X-Gm-Message-State: ALoCoQlmVHPnCr1B2J1xHZFJUQbnZTrFD7uMRDjMyzd2KIb7NYxYTSnpzcFKNt/stPa2fAURJmEA X-Received: by 10.180.81.170 with SMTP id b10mr2400860wiy.4.1434449425264; Tue, 16 Jun 2015 03:10:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.163 with SMTP id t3ls75031lat.6.gmail; Tue, 16 Jun 2015 03:10:25 -0700 (PDT) X-Received: by 10.152.44.166 with SMTP id f6mr32956819lam.86.1434449425102; Tue, 16 Jun 2015 03:10:25 -0700 (PDT) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com. [2a00:1450:4010:c04::233]) by mx.google.com with ESMTPS id ll10si423952lac.26.2015.06.16.03.10.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 03:10:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::233 as permitted sender) client-ip=2a00:1450:4010:c04::233; Received: by lblr1 with SMTP id r1so7538713lbl.0 for ; Tue, 16 Jun 2015 03:10:24 -0700 (PDT) X-Received: by 10.152.1.40 with SMTP id 8mr33499578laj.56.1434449424921; Tue, 16 Jun 2015 03:10:24 -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.108.230 with SMTP id hn6csp2005858lbb; Tue, 16 Jun 2015 03:10:23 -0700 (PDT) X-Received: by 10.70.53.99 with SMTP id a3mr57248965pdp.169.1434449422906; Tue, 16 Jun 2015 03:10:22 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id so4si771953pbc.76.2015.06.16.03.10.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 03:10:22 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-400567-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 28289 invoked by alias); 16 Jun 2015 10:10:03 -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 28278 invoked by uid 89); 16 Jun 2015 10:10:02 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f180.google.com Received: from mail-qk0-f180.google.com (HELO mail-qk0-f180.google.com) (209.85.220.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 16 Jun 2015 10:10:01 +0000 Received: by qkdm188 with SMTP id m188so6092318qkd.1 for ; Tue, 16 Jun 2015 03:09:59 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.55.48.11 with SMTP id w11mr38545498qkw.61.1434449399630; Tue, 16 Jun 2015 03:09:59 -0700 (PDT) Received: by 10.140.102.164 with HTTP; Tue, 16 Jun 2015 03:09:59 -0700 (PDT) Date: Tue, 16 Jun 2015 12:09:59 +0200 Message-ID: Subject: [Patch][ARM,testsuite] Fix gcc.target/arm/thumb-ifcvt.c From: Christophe Lyon To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes X-Original-Sender: christophe.lyon@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::233 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, Since Kyrill's r224367 (Restrict MAX_CONDITIONAL_EXECUTE when -mrestrict-it is in place), gcc.target/arm/thumb-ifcvt.c fails when testing a compiler configured to generate armv8 code by default (I used --with-cpu=cortex-a57 for instance). This is because -mrestrict-it is on by default for armv8-a. This patch adds -mno-restrict-it to dg-options to remove this restriction. The test now passes for arm-none-linux-gnueabihf --with-cpu=cortex-a57. Ok to commit? Thanks, Christophe. 2015-06-16 Christophe Lyon * gcc.target/arm/thumb-ifcvt.c: Add -mno-restrict-it to dg-options. Index: gcc/testsuite/gcc.target/arm/thumb-ifcvt.c =================================================================== --- gcc/testsuite/gcc.target/arm/thumb-ifcvt.c (revision 224505) +++ gcc/testsuite/gcc.target/arm/thumb-ifcvt.c (working copy) @@ -1,7 +1,7 @@ /* Check that Thumb 16-bit shifts can be if-converted. */ /* { dg-do compile } */ /* { dg-require-effective-target arm_thumb2_ok } */ -/* { dg-options "-O2 -mthumb" } */ +/* { dg-options "-O2 -mthumb -mno-restrict-it" } */ int foo (int a, int b)