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  <luis.mach...@linaro.org>

        * ipa-pure-const.c (check_decl): Add missing newline.
        (state_from_flags): Likewise.
OK.
jeff


Thanks. Pushed now.

Reply via email to