From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28097 invoked by alias); 15 Oct 2002 18:39:29 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 28087 invoked from network); 15 Oct 2002 18:39:27 -0000 Received: from unknown (HELO webmail12.rediffmail.com) (203.199.83.22) by sources.redhat.com with SMTP; 15 Oct 2002 18:39:27 -0000 Received: (qmail 13715 invoked by uid 510); 15 Oct 2002 18:41:28 -0000 Date: Tue, 15 Oct 2002 11:39:00 -0000 Message-ID: <20021015184128.13714.qmail@webmail12.rediffmail.com> Received: from unknown (202.54.11.165) by rediffmail.com via HTTP; 15 oct 2002 18:41:28 -0000 MIME-Version: 1.0 From: "ritesh goel" Reply-To: "ritesh goel" To: gcc-help@gcc.gnu.org Subject: Regarding line no and artificial nodes Content-type: text/plain; format=flowed Content-Disposition: inline X-SW-Source: 2002-10/txt/msg00196.txt.bz2 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