This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PCH] driver, documentation
On Mon, 19 Aug 2002 11:25:31 -0700, Geoff Keating <geoffk@geoffk.org> wrote:
>> Date: Mon, 19 Aug 2002 10:58:58 -0700
>> From: Stan Shebs <shebs@apple.com>
>
>> Mike Stump wrote:
>>
>> > I was wondering about flags like -fvolatile, -O2, -O0, -g and
>> > -ffast-math? -UMACRO? Do they rule out pch? Should they?
>> > I am thinking about C++ where it is possible to have significant
>> > portions of code for an application in header files.
>>
>> Ideally, you'd keep around tree rather than RTL, so most backend flags
>> shouldn't matter.
>
> That would make PCH files slower to use, because RTL would need to be
> regenerated (and re-optimised) if it is used.
Why would there be RTL in the PCH? Nowadays we don't generate RTL until
we're ready to compile down to assembly.
Jason