This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, obv?] Fix missing newlines from local-pure-const pass dump
- From: Jeff Law <law at redhat dot com>
- To: Luis Machado <luis dot machado at linaro dot org>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Dec 2017 09:01:26 -0700
- Subject: Re: [PATCH, obv?] Fix missing newlines from local-pure-const pass dump
- Authentication-results: sourceware.org; auth=none
- References: <1512153722-22683-1-git-send-email-luis.machado@linaro.org>
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 <luis.machado@linaro.org>
>
> * ipa-pure-const.c (check_decl): Add missing newline.
> (state_from_flags): Likewise.
OK.
jeff