This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GC issues in cc1plus
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 31 Mar 2003 13:59:16 -0800
- Subject: Re: GC issues in cc1plus
- References: <m3r88oi2gy.fsf@dromion.integrable-solutions.net>
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>