Help needed: banishing RTL from the front ends

Joseph S. Myers joseph@codesourcery.com
Tue May 25 12:35:00 GMT 2010


On Tue, 25 May 2010, Steven Bosscher wrote:

> I am guessing this comes in from the $C_TARGET_OBJS and other language
> target objects. In the Makefile in the build directory I have this
> dependency:
> 
>  Target specific, C specific object file
> C_TARGET_OBJS=i386-c.o
> 
> But unfortunately I cannot find the rule for this object.

It's in config/i386/t-i386.  And such files shouldn't really be using RTL 
themselves.  They are for pragmas, assertions, aspects of built-in 
functions that need handing at front-end time, controlling extensions for 
the C language, ... - all things that should be completed before the 
conversion to RTL.  (It's possible that some of them may store information 
for use by later stages of the compiler, but the code processing that 
information should be language-independent.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc mailing list