From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101294 invoked by alias); 4 Dec 2017 17:04:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 101284 invoked by uid 89); 4 Dec 2017 17:04:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:ip*192.168.1.105 X-HELO: mail-qt0-f175.google.com Received: from mail-qt0-f175.google.com (HELO mail-qt0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Dec 2017 17:04:57 +0000 Received: by mail-qt0-f175.google.com with SMTP id d15so22540936qte.4 for ; Mon, 04 Dec 2017 09:04:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=N/PYgBUx+QrPzXfzL2pfCw3TdLoKhwZy2Nc0FO616z8=; b=h1VEjiQzS+j2y8B2O9cOCSxLYmSPq3Md8SPzIrNdbIJYm3T2ovqhri3s8+dIPc1moL lrrYbuTAObZHBS4meNMNc3bx8QTkGQtJ9aUYWH6rkNH7n7b01hGZf+GTa7fwZH5+O1by VgVW4Ms/TukFwotIy7793b/ei5QCYBJaES7aumeCsQCEncT8c0Hw7pQYSmykIUhFSZGG CF2y+kj1RkfKJaF9eWY36DouaQuvGRXUSbUZUKqg2I1iqgZYIi4OgvbMuM9vZb2A+k1P UTmBY9Rvp/akyMEvXrQuV0p1ukD3JFXsmFxY65uOi6PMgR64sEzy4d/q90o0QCn2TtXV SNVw== X-Gm-Message-State: AKGB3mLXvFVtok0SGHy/SxqyTkjoQGobpRyXJmz0oaD8EvuWa+RcDlXc GvK/wXZBx0j+a6dXSiHA62EDW1H1s+U= X-Google-Smtp-Source: AGs4zMbMv1RSwleBTBS6pXciYGUNf2GRx0cbFGySX8wOd8KdXdZCU7zUDgigFZAMHy9gK81bUkv9nA== X-Received: by 10.55.198.80 with SMTP id b77mr19466410qkj.138.1512407095250; Mon, 04 Dec 2017 09:04:55 -0800 (PST) Received: from [192.168.1.105] ([179.154.140.131]) by smtp.gmail.com with ESMTPSA id v129sm9343212qkd.42.2017.12.04.09.04.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 09:04:54 -0800 (PST) Subject: Re: [PATCH, obv?] Fix missing newlines from local-pure-const pass dump To: Jeff Law , gcc-patches@gcc.gnu.org References: <1512153722-22683-1-git-send-email-luis.machado@linaro.org> From: Luis Machado Message-ID: <7b1b2431-64e4-13d9-e730-3d3d5dfea8ce@linaro.org> Date: Mon, 04 Dec 2017 17:04:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00157.txt.bz2 On 12/04/2017 02:01 PM, Jeff Law wrote: > On 12/01/2017 11:42 AM, Luis Machado wrote: >> I noticed the debugging output from local-pure-const pass is missing a >> newline in a couple places, leading to this: >> >> local analysis of main >> scanning: i ={v} 0; >> Volatile stmt is not const/pure >> Volatile operand is not const/pure scanning: j ={v} 20; >> Volatile stmt is not const/pure >> Volatile operand is not const/pure scanning: vol.0_10 ={v} i; >> Volatile stmt is not const/pure >> >> It should've been: >> >> local analysis of main >> scanning: i ={v} 0; >> Volatile stmt is not const/pure >> Volatile operand is not const/pure >> scanning: j ={v} 20; >> Volatile stmt is not const/pure >> Volatile operand is not const/pure >> scanning: vol.0_10 ={v} i; >> Volatile stmt is not const/pure >> >> Seems fairly obvious. OK? >> >> gcc/ChangeLog: >> >> 2017-12-01 Luis Machado >> >> * ipa-pure-const.c (check_decl): Add missing newline. >> (state_from_flags): Likewise. > OK. > jeff > Thanks. Pushed now.