public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Regarding line no and artificial nodes
@ 2002-10-15 11:39 ritesh  goel
  0 siblings, 0 replies; only message in thread
From: ritesh  goel @ 2002-10-15 11:39 UTC (permalink / raw)
  To: gcc-help

I am makking use gcc version 3.0 with -fdump-translation-unit for 
making C++ frontend ,
  I want the line numbers of each node came from user source while 
dumping . In the tree nodes i am getting the line number for decl 
(declaration) nodes and stmt nodes , but not for  expr nodes . So 
if one statement is in more than one line , i am not able to get 
the accurate line no for that expression is there any way to get 
the line number for expression nodes .

and also gcc is marking the compiler generated decl-nodes as 
artificial but not to stmt and expr nodes . Is there any way to 
mark compiler genearted stmt and expr nodes as artificial .

thanx and regards
ritesh



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-15 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-15 11:39 Regarding line no and artificial nodes ritesh  goel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).