This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/26660: gomp regression to C++ PCH machinery
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Geoffrey Keating <geoffk at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 01 Jun 2006 02:05:13 -0300
- Subject: Re: PR c++/26660: gomp regression to C++ PCH machinery
- References: <orodxhl3xq.fsf@free.oliva.athome.lsd.ic.unicamp.br> <m2mzcygd4x.fsf@greed.local>
On May 31, 2006, Geoffrey Keating <geoffk@apple.com> wrote:
> Alexandre Oliva <aoliva@redhat.com> writes:
>> We can't lex the token past the PCH pragma before doing the PCH magic,
>> otherwise the lexed token will point to GC memory that is invalidated
>> by the PCH magic.
>>
>> Bootstrapped and regtested on adm64-linux-gnu. Ok to install?
> This is OK, assuming you did check that #pragma GCC pch_preprocess
> continues to work...
That's what the reported bug tested, and it was just broken for C++
before, and now it at least appears to work :-)
Thanks, the patch is in.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}