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


Andreas Jaeger <aj at suse dot de> writes:

| Gabriel Dos Reis <gdr at integrable-solutions dot net> writes:
| 
| > 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. 
| 
| Did you use the right GC heuristics parameter, e.g. my compiler gives:
| GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32007
| 
| It might be that it only reproduced if you gave the exact values under
| gdb,

You may have a point: I didn't those parameters under GDB.

What is interesting to note that a recyling free list apparently
makes GCC consume more memory than just keeping on allocating.

-- Gaby


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