From patchwork Fri May 23 07:35:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kuvyrkov X-Patchwork-Id: 30679 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 296D320369 for ; Fri, 23 May 2014 07:36:05 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id tp5sf21731114ieb.9 for ; Fri, 23 May 2014 00:36:04 -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:subject:from:in-reply-to:date:cc :message-id:references:to:x-original-sender :x-original-authentication-results:content-type :content-transfer-encoding; bh=neD3f3eYriPCQb3fKYjzqopkdqeyA0X1oxgZ5Cbqlh0=; b=Lz83/TVYOf9TKx1uY/L6Xd2L6SR19jROfEZfhaQAxPzbzJdSAz0z5Ktod3wsp1pMpH kT09sJDGIrSGcS50qSeeIccZQHit+dgxPMTZKlIqw0kosKpIdD1yR7oLzDszyFP2iJhx JOuGUGE6I8mTT1v9DlM+FM0fuF76tPNmca41eG0JBnNXwDCHaY2+zrvO7jQs8RgwHeBk vtm8worvG/9HW7ITRGh+Fq59Qrd9IPYL5kaahOZiZvNkKxA3boNd8PB8veeh9puIa0ey 1BxlpzmLP46wa8SpbfHgZdWuHzWhp4qaiRMSHQkWZf4bjbcHETDixqVQUeL4eqXFCJ7b hzsw== X-Gm-Message-State: ALoCoQkth1+foTmajSOvNkhvcftBb1MOa53R0Z0q2oN6mWc2f0UF3J8L75r2dEJmimiyYZSTV/Xu X-Received: by 10.182.125.4 with SMTP id mm4mr1439775obb.49.1400830564389; Fri, 23 May 2014 00:36:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.145 with SMTP id o17ls1007087qga.37.gmail; Fri, 23 May 2014 00:36:04 -0700 (PDT) X-Received: by 10.221.29.137 with SMTP id ry9mr2766447vcb.6.1400830564228; Fri, 23 May 2014 00:36:04 -0700 (PDT) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [2607:f8b0:400c:c01::230]) by mx.google.com with ESMTPS id g6si1200555vez.71.2014.05.23.00.36.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 00:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::230 as permitted sender) client-ip=2607:f8b0:400c:c01::230; Received: by mail-ve0-f176.google.com with SMTP id jz11so5754085veb.21 for ; Fri, 23 May 2014 00:36:04 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr2658907vck.29.1400830564152; Fri, 23 May 2014 00:36: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.220.221.72 with SMTP id ib8csp9768vcb; Fri, 23 May 2014 00:36:03 -0700 (PDT) X-Received: by 10.68.132.68 with SMTP id os4mr3434906pbb.129.1400830563391; Fri, 23 May 2014 00:36:03 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id uv1si2673015pbc.53.2014.05.23.00.36.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 00:36:03 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-368342-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 4149 invoked by alias); 23 May 2014 07:35:52 -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 4136 invoked by uid 89); 23 May 2014 07:35:52 -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-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 23 May 2014 07:35:49 +0000 Received: by mail-pa0-f52.google.com with SMTP id fa1so3745638pad.39 for ; Fri, 23 May 2014 00:35:47 -0700 (PDT) X-Received: by 10.68.233.37 with SMTP id tt5mr3612493pbc.154.1400830547814; Fri, 23 May 2014 00:35:47 -0700 (PDT) Received: from [192.168.0.130] (121-99-184-46.bng1.nct.orcon.net.nz. [121.99.184.46]) by mx.google.com with ESMTPSA id iq10sm3159780pbc.14.2014.05.23.00.35.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 00:35:46 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [PATCH, sched] Cleanup and improve multipass_dfa_lookahead_guard From: Maxim Kuvyrkov In-Reply-To: <871tvlot4x.fsf@igel.home> Date: Fri, 23 May 2014 19:35:22 +1200 Cc: GCC Patches , Vladimir Makarov , Jim Wilson , "David Edelsohn (dje.gcc@gmail.com)" Message-Id: References: <871tvlot4x.fsf@igel.home> To: Andreas Schwab X-Original-Sender: maxim.kuvyrkov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::230 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 On May 23, 2014, at 7:23 PM, Andreas Schwab wrote: > ../../gcc/config/ia64/ia64.c: In function 'int ia64_first_cycle_multipass_dfa_lookahead_guard(rtx, int)': > ../../gcc/config/ia64/ia64.c:7551:1: error: control reaches end of non-void function [-Werror=return-type] Fixed, sorry about the breakage. The patch is trivial. Thank you, --- Maxim Kuvyrkov www.linaro.org 2014-05-23 Maxim Kuvyrkov Fix bootstrap error on ia64 * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard): Return default value. Index: gcc/config/ia64/ia64.c =================================================================== --- gcc/config/ia64/ia64.c (revision 210844) +++ gcc/config/ia64/ia64.c (working copy) @@ -7548,6 +7548,8 @@ ia64_first_cycle_multipass_dfa_lookahead_guard || !is_load_p (insn) || mem_ops_in_group[current_cycle % 4] < ia64_max_memory_insns)) return 0; + + return 1; } /* The following variable value is pseudo-insn used by the DFA insn