This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Re: RE: RTL Dumps
- From: Liu Hongming <liuhm at fudan dot edu dot cn>
- To: Petar Penchev <ptr at melexis dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 19 Dec 2003 16:54:14 +0800
- Subject: Re: Re: RE: RTL Dumps
Hi,
As I known,the .md file will be needed:the parse
tree is used to generate an RTL insn list based
on named instruction patterns,then the insn list
is matched against the RTL templates to produce
assembler code.So .md file is needed.
But I dont know the sequence of function calling,
Since I did not debug cc1,and I am a newbie on
GCC developing.
Regards,
Alan
>Hi ,
>I tried the options you recommended, but it didn't work at all.
>I have a segmentation fault in emit_move_insn(...). I think gcc is still
>trying to generate an asm code for the source.
>Reason I need RTL code onlym,is that I have some problems with .md file I am
>wtriting.
>I have another qestion: Is it necessary to have a valid .md file to get a
>valid RTL ?
>I hope the answer is 'no'.
>
>Regards
>Petar
>
>
>
>> Hi,
>>
>> Pls try -drx option.
>>
>> Alan Liu
>>
>> -----Original Message-----
>> From: Petar Penchev [mailto:ptr@melexis.com]
>> Sent: Friday, December 19, 2003 2:29 PM
>> To: gcc@gcc.gnu.org
>> Subject: RTL Dumps
>>
>>
>> Hello everybody,
>> Is it possible to make GCC to perform RTL dumps without optimization and
>> without compiling the source. At the moment I need C to RTL translation.
>>
>>
>> Regards Petar
>>
>>
>>
= = = = = = = = = = = = = = = = = = = =
致
礼!
Liu Hongming
liuhm@fudan.edu.cn
2003-12-19