From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15899 invoked by alias); 21 Mar 2004 02:00:16 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 15746 invoked from network); 21 Mar 2004 02:00:15 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 21 Mar 2004 02:00:15 -0000 Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1B4sC5-0002Tl-Rh for gcc@gnu.org; Sat, 20 Mar 2004 20:56:05 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4sFW-0007jH-58 for gcc@gnu.org; Sat, 20 Mar 2004 21:00:09 -0500 Received: from [207.68.163.115] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4sFV-0007jC-QA for gcc@gnu.org; Sat, 20 Mar 2004 20:59:37 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 20 Mar 2004 17:59:32 -0800 Received: from 218.94.6.138 by sea1fd.sea1.hotmail.msn.com with HTTP; Sun, 21 Mar 2004 01:59:32 GMT X-Originating-IP: [218.94.6.138] X-Originating-Email: [cnnjuwy@hotmail.com] X-Sender: cnnjuwy@hotmail.com From: =?gb2312?B?zfUg0t0=?= To: gcc@gnu.org Cc: gcc@gcc.gnu.org Bcc: Subject: about RTL Date: Sun, 21 Mar 2004 12:36:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 21 Mar 2004 01:59:32.0678 (UTC) FILETIME=[273DCE60:01C40EE8] X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SW-Source: 2004-03/txt/msg01233.txt.bz2 Message-ID: <20040321123600.cxTBdNgs6gjfPCnUFTem-WmZoVt3r4zJf_OL8J6h0lg@z> Hi, I'm thinking of patching GCC so that the compiler may automatically insert some instructions in the final excutable objects. I would like to do this at the RTL generation phase. But I've some questions: 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? 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.) 3. Which files are related to RTL generation in the GCC source? I'd like to read some of them. thx for reading! Wang Yi Graduate Student@ Dept. of C.S. NanJing Univ. _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn