From patchwork Fri May 15 06:41:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kugan Vivekanandarajah X-Patchwork-Id: 48544 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1FB252121F for ; Fri, 15 May 2015 06:42:10 +0000 (UTC) Received: by wiz9 with SMTP id 9sf30699364wiz.3 for ; Thu, 14 May 2015 23:42:09 -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:message-id:date:from:user-agent:mime-version:to:cc :subject:content-type:x-original-sender :x-original-authentication-results; bh=D2EQA3CylL6xmMkgOrCtAQSJtHrfoLuovmw7zEWay7o=; b=b+vlp/VvViNZr0HYmVk/HCQgUpV3UWW6ZFyjMlNqdf9D2lOMhZ7xxfsvmNmVsKcPpu hjQpmVwy7DNRL8LlksqgW0Uznh+mNlu8gfhG8IwBSEaTStG+k7udNw/+KKyvHq+ehwK2 U94ymeJGxhTbf7j9ffwxxs48cEpVEoSwi1B/C11xBgWrNKafHu56mEzms2LQhvHC1uE8 hXq2L6keL37zQU06SJVItz6i1IqiH6TrbND5rYIOCNDBRTQQiHhUn0es1BXlwqzWIM1q TqsWWpgv6ioRdfOUj6SxOM5FS5tuX3Yp7MTm4oytJri1g2OzPl31B/6N5D8xnShZa1qF 2AEA== X-Gm-Message-State: ALoCoQmqbzCJ1HnmK5woq0NuwbE4z+dUikpmPBlfrJtrs286G7XmzB34aHgOa7WQPWp/KpEuEktZ X-Received: by 10.180.88.226 with SMTP id bj2mr21251130wib.7.1431672129437; Thu, 14 May 2015 23:42:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.133 with SMTP id kq5ls455090lac.102.gmail; Thu, 14 May 2015 23:42:09 -0700 (PDT) X-Received: by 10.112.159.9 with SMTP id wy9mr5846569lbb.120.1431672129272; Thu, 14 May 2015 23:42:09 -0700 (PDT) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com. [2a00:1450:4010:c03::236]) by mx.google.com with ESMTPS id n7si454228lbs.61.2015.05.14.23.42.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 23:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::236 as permitted sender) client-ip=2a00:1450:4010:c03::236; Received: by labbd9 with SMTP id bd9so104932678lab.2 for ; Thu, 14 May 2015 23:42:09 -0700 (PDT) X-Received: by 10.112.29.36 with SMTP id g4mr6149213lbh.56.1431672128957; Thu, 14 May 2015 23:42:08 -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 hn6csp1780581lbb; Thu, 14 May 2015 23:42:07 -0700 (PDT) X-Received: by 10.68.113.132 with SMTP id iy4mr15552335pbb.71.1431672126701; Thu, 14 May 2015 23:42:06 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id va2si1170282pbc.53.2015.05.14.23.42.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 23:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-397939-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 5501 invoked by alias); 15 May 2015 06:41:53 -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 5491 invoked by uid 89); 15 May 2015 06:41:52 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f173.google.com Received: from mail-pd0-f173.google.com (HELO mail-pd0-f173.google.com) (209.85.192.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 15 May 2015 06:41:51 +0000 Received: by pdeq5 with SMTP id q5so3644742pde.1 for ; Thu, 14 May 2015 23:41:50 -0700 (PDT) X-Received: by 10.70.52.130 with SMTP id t2mr5552229pdo.34.1431672109939; Thu, 14 May 2015 23:41:49 -0700 (PDT) Received: from [10.1.1.5] (58-6-183-210.dyn.iinet.net.au. [58.6.183.210]) by mx.google.com with ESMTPSA id hj11sm735564pbd.33.2015.05.14.23.41.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 23:41:49 -0700 (PDT) Message-ID: <55559525.5000603@linaro.org> Date: Fri, 15 May 2015 16:41:41 +1000 From: Kugan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" , Richard Earnshaw CC: Ramana Radhakrishnan , Kyrill Tkachov Subject: [ARM] fix arm bootstrap X-IsSubscribed: yes X-Original-Sender: kugan.vivekanandarajah@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:c03::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 Richard, r223090 seem to miss a parenthesis and seem to be causing: from ../../widen/gcc/fold-const.c:46: ../../widen/gcc/fold-const.c: In function 'tree_node* fold_range_test(location_t, tree_code, tree, tree, tree)': ../../widen/gcc/config/arm/arm.h:2068:4: error: enumeral and non-enumeral type in conditional expression [-Werror=extra] ? (TARGET_THUMB ? false : true) \ ^ ../../widen/gcc/fold-const.c:5234:12: note: in expansion of macro 'LOGICAL_OP_NON_SHORT_CIRCUIT' else if (LOGICAL_OP_NON_SHORT_CIRCUIT ^ ../../widen/gcc/fold-const.c: In function 'tree_node* fold_truth_andor(location_t, tree_code, tree, tree, tree, tree, tree)': ../../widen/gcc/config/arm/arm.h:2068:4: error: enumeral and non-enumeral type in conditional expression [-Werror=extra] ? (TARGET_THUMB ? false : true) \ ^ ../../widen/gcc/fold-const.c:8431:7: note: in expansion of macro 'LOGICAL_OP_NON_SHORT_CIRCUIT' if (LOGICAL_OP_NON_SHORT_CIRCUIT Regression testing for arm-none-linux-gnueab is ongoing. Is this OK for trunk if no regression? Thanks, Kugan gcc/ChangeLog: 2015-05-15 Kugan Vivekanandarajah * config/arm/arm.h (enum arm_auto_incmodes): Add parenthesis. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 8574388..6968a3d 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2060,8 +2060,8 @@ enum arm_auto_incmodes #define LOGICAL_OP_NON_SHORT_CIRCUIT \ ((optimize_size) \ ? (TARGET_THUMB ? false : true) \ - : TARGET_THUMB ? current_tune->logical_op_non_short_circuit_thumb \ - : current_tune->logical_op_non_short_circuit_arm) + : (TARGET_THUMB ? current_tune->logical_op_non_short_circuit_thumb \ + : current_tune->logical_op_non_short_circuit_arm)) /* Position Independent Code. */