This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help needed: banishing RTL from the front ends
On 2010年5月25日, 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