This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Dumping line numbers
- From: law at redhat dot com
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 03 Nov 2003 10:30:39 -0700
- Subject: Re: [tree-ssa] Dumping line numbers
- Reply-to: law at redhat dot com
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