This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Apple's implementation of precompiled headers


<<In actuality, it's not.
This is because expansion to rtl gets counted in the parse cost, and
it's expensive.
With precomp'd headers as serialized trees, you don't need to
re-expand (assuming you serialize DECL_RTL as well).
>>

Of course you do not need to convert declarations to rtl unless they are
used, i.e. you can do it on demand, that's what we do with Ada specs, the
declarations are converted to rtl on demand (at least that's my understanding
of what we do, it is not the area of GNAT I know well, and if we are not
doing it we should be doing it :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]