r255388 - in /trunk/gcc: ChangeLog ipa-pure-con...

luisgpm@gcc.gnu.org luisgpm@gcc.gnu.org
Mon Dec 4 17:04:00 GMT 2017


Author: luisgpm
Date: Mon Dec  4 17:04:18 2017
New Revision: 255388

URL: https://gcc.gnu.org/viewcvs?rev=255388&root=gcc&view=rev
Log:
Fix missing newlines from local-pure-const pass dump

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

gcc/ChangeLog:

2017-12-04  Luis Machado  <luis.machado@linaro.org>

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

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-pure-const.c



More information about the Gcc-cvs mailing list