Emil Jerabek wrote:
I also encountered some segfaults. Unfortunately I wasn't able to reduce the problem to a simple test case, because it manifests only during garbage collection (which doesn't occur at all on short input files, and the trouble might arose long before the actual crash anyway).
I found an instance myself now, and the following fixes it. Hope it does so for your case, too.
--- p/predef.c.orig Thu Feb 13 02:01:44 2003 +++ p/predef.c Fri Feb 14 08:08:31 2003 @@ -117,7 +117,7 @@ TREE_PUBLIC (decl) = 1; KItable[i].decl = decl; #ifdef EGCS97 - ggc_add_tree_root (&decl, 1); + ggc_add_tree_root (&KItable[i].decl, 1); #endif } }
Frank