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 -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707