On 10/22/13 13:23, Jakub Jelinek wrote:
Hi!I've noticed that some -fdump-tree-*-alias dumps look badly, contain stuff like: <bb 4>: # # RANGE [0, 52] _1 = PHI <0(2), f2_12(3)> return _1; or: <bb 4>: # PT = { D.1732 } (glob) # ALIGN = 32, MISALIGN = 0 # p_1 = PHI <&MEM[(void *)&a + 128B](2), &MEM[(void *)&a + 512B](3)> PT = { D.1732 } (glob) # ALIGN = 32, MISALIGN = 0 # p_3 = p_1 + 64; note, some lines get double an extra "# " and some don't get that when it should, in both examples. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-10-22 Jakub Jelinek <[email protected]> * gimple-pretty-print.c (dump_ssaname_info): Always print "# " before the info, not after it. (gump_gimple_phi): Add COMMENT argument, if true, print "# " after dump_ssaname_info call. (pp_gimple_stmt_1): Adjust caller. (dump_phi_nodes): Likewise. Don't print "# " here.
OK. Jeff
