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: [tree-ssa] Dumping line numbers


In message <1067879609.3402.8.camel@frodo.toronto.redhat.com>, Diego Novillo wr
ites:
 >On Mon, 2003-11-03 at 11:58, Zdenek Dvorak wrote:
 >
 >> 	* tree-dump.c (dump_options): Add TDF_LINENO.
 >> 	* tree-pretty-print.c (dump_generic_node): Print line number for
 >> 	statements if asked to.
 >> 	* tree.h (TDF_LINENO): New.
 >> 
 >This is OK, but you also need to update doc/invoke.texi.
 >
 >Since you're modifying this code, could you update tree_dump_bb to use
 >TDF_LINENO instead of manually adding line numbers?
Yes yes yes.  One of the more annoying things I run into is spurious 
diffs when comparing tree dumps that two compilers gives when compiling
identical sourcecode which is stored in two different filenames.

If I understand what you're asking for, we would stop printing that
information unless it was explicitly asked for.  Which would certainly
make my life easier from time to time...

jeff


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