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: [tuples] [patch] make gimple-pretty-print closer to tree-pretty-print


On 4/29/08 10:22 AM, Rafael Espindola wrote:

* gimple-pretty-print.c (dump_gimple_assign): print ";" at the end.
(dump_gimple_return):print ";" at the end.
(dump_gimple_call): print ";" at the end.
(dump_gimple_cond): use op_symbol_code instead of tree_code_name.
(pp_cfg_jump): print ";" at the end.

OK for tuples?

Given that Richard had a good point regarding cut-n-paste, I think it's best if we continue using semicolons. The dumps need to be useful, after all.


So, the patch is OK. Call pp_semicolon(), though.


Diego.



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