This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: GC issues in cc1plus


Gabriel Dos Reis <gdr at integrable-solutions dot net> writes:

> Hi,
> My previous patch ("Unify name lokkup 1/n") seems to have exposed a
> latent GC issue in cc1plus.

No, the patch itself is buggy.  You've added the first GTY in a source
file, but haven't followed the steps in the Info documentation for
doing so.  See (gccint.info) Files.

> As a final datapoint, I would like to mention that this sort of
> problem is difficult to track:  For example, running cc1plus under
> GDB-5.3, I was unable to reproduce the problem; running cc1plus with no
> optimization yields no failure; running g++ with optimization
> reproduces the problem. 

You probably want to try --enable-checking=gcac.

-- 
- Geoffrey Keating <geoffk at geoffk dot org>


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