From: "ritesh goel" <goel_ritesh@rediffmail.com>
To: gcc-help@gcc.gnu.org
Subject: regarding setting line no in gcc3.0
Date: Thu, 10 Oct 2002 04:35:00 -0000 [thread overview]
Message-ID: <20021010113939.27988.qmail@webmail32.rediffmail.com> (raw)
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
reply other threads:[~2002-10-10 11:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021010113939.27988.qmail@webmail32.rediffmail.com \
--to=goel_ritesh@rediffmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).