public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@specifixinc.com>
To: "王 逸" <cnnjuwy@hotmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: About RTL
Date: Tue, 30 Mar 2004 01:56:00 -0000	[thread overview]
Message-ID: <4068BF78.6040801@specifixinc.com> (raw)
In-Reply-To: <Sea1-DAV37wgxgoNrRJ0000150e@hotmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 873 bytes --]

Íõ ÒÝ wrote:
> 1. I used "gcc -dr *.c" command to dump RTL code, but only got the RTL code for main function. 
>    (It begins with "; Main Function", so I guess it does not express the whole program.)
>    How can I get the whole program's RTL representation?

-dr does dump the RTL for the entire module you are compiling.  There is
no RTL for libraries if that is what you are looking for.  If your
question is something else, then please give a testcase.

> 2. I'm not familiar with GCC and RTL, how can I get some resources about them? 
>    (except GCC internals, I've already got one.)

We have only the sources and the documentation.

> 3. Which files are related to RTL generation in the GCC source? I'd like to read some of them.

See the section "RTL generation" in the gcc/doc/passes.texi file.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

  parent reply	other threads:[~2004-03-30  0:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-21 13:02 王  逸
2004-03-21 15:28 ` 王  逸
2004-03-30  1:56 ` Jim Wilson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-21 11:58 about RTL 王 逸
2004-03-21 12:36 ` 王 逸

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=4068BF78.6040801@specifixinc.com \
    --to=wilson@specifixinc.com \
    --cc=cnnjuwy@hotmail.com \
    --cc=gcc@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).