> The wiki page > http://gcc.gnu.org/wiki/Memory_management > might help you > > I had a quick glance at your mail, so I may be wrong, but I am not sure that > you configured correctly the build system so that thet GTY(()) macros get > processed correctly. Sadly, the gengtype generator does not recieve the list > of files to process thru the command line, but only in internal data. >
Thanks for the reply. I followed the steps for setting up the build system according to: http://gcc.gnu.org/onlinedocs/gccint/Files.html I have my code in a header file as part of the C++ front end so i followed those instructions accordingly. I was wondering if my usage of the GTY(()) macros is incorrect. Is there any way of finding out what memory the garbage collector is freeing up? If i print the memory reference of the node when i know it exists and then able to match that with a reference that i see the GC deleting at least I can determine if this problem even is related to GC. Thanks, Brendon.