Re: Working with RTL

dougw@Think.COM (Douglas Wiedemann)
Thu, 14 Oct 1993 01:39:17 GMT

          From comp.compilers

Related articles
Working with RTL (1993-10-12)
Re: Working with RTL dougw@Think.COM (1993-10-14)
Re: Working with RTL (1993-10-17)
Re: Working with RTL (1993-10-26)
| List of all articles for this month |

Newsgroups: comp.compilers
From: dougw@Think.COM (Douglas Wiedemann)
Keywords: RTL, GCC
Organization: Thinking Machines Corporation, Cambridge MA, USA
References: 93-10-053
Date: Thu, 14 Oct 1993 01:39:17 GMT

In article 93-10-053 writes:
>I would like to work with at the RTL level of GCC WITHOUT meddling (too
>much) with the internals of GCC. I can make GCC spew out RTL at various
>phases. I then want to do my own processing on it, after which I want GCC
>to "restart" with the (printed) RTL expressions. Can I make GCC read in a
>text file of RTL expressions ? If not, how else can I work with RTL ?

I have asked R. Stallman about this and the answer he gave is essentially
"Using and Porting GNU CC" V2.4 Sec. 14.18, where he states

"People frequently have the idea of using RTL stored as text in a file as
an interface between a language front end and the bulk of GNU CC. This
idea is not feasible."

He then goes on to clinch it by saying that the RTL dump is not even
complete information about the program. But, did GCC really have to be
written that way?

Doug Wiedemann (

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.