This is the mail archive of the gcc-help@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]

Regarding line no and artificial nodes


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




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