This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, obv?] Fix missing newlines from local-pure-const pass dump


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]