From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3241 invoked by alias); 10 Oct 2002 11:35:20 -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 3225 invoked from network); 10 Oct 2002 11:35:14 -0000 Received: from unknown (HELO webmail32.rediffmail.com) (203.199.83.32) by sources.redhat.com with SMTP; 10 Oct 2002 11:35:14 -0000 Received: (qmail 27989 invoked by uid 510); 10 Oct 2002 11:39:39 -0000 Date: Thu, 10 Oct 2002 04:35:00 -0000 Message-ID: <20021010113939.27988.qmail@webmail32.rediffmail.com> Received: from unknown (202.54.11.165) by rediffmail.com via HTTP; 10 oct 2002 11:39:39 -0000 MIME-Version: 1.0 From: "ritesh goel" Reply-To: "ritesh goel" To: gcc-help@gcc.gnu.org Subject: regarding setting line no in gcc3.0 Content-type: text/plain; format=flowed Content-Disposition: inline X-SW-Source: 2002-10/txt/msg00104.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