On Wed, 12 Apr 1995, Phil Nelson wrote: > Hi, I just tried compiling 2.6.3/contrib/pie.p ... and gpc1 core dumped > under --- 1) sparc/SunOS 4.1.3, 2) i386/NetBSD, 3) ns32532/NetBSD. There is another bug in gpc-util.c. Here is the fix (add the lines marked with + to gpc-util.c to the appropriate place). Unfortunately, there is also a syntax error in contrib/xbgi.ph (the function param_argv on line 234 has ';' where it should have ':' for funtion return type definition.) Juki jtv@hut.fi *** 1.41 1995/04/09 00:49:11 --- gpc-util.c 1995/04/13 14:01:18 *************** *** 3146,3151 **** --- 3146,3159 ---- if (TREE_VALUE (scan) == name) { tree lv = IDENTIFIER_LOCAL_VALUE (TREE_VALUE (scan)); + if (! lv) + { + if (global_bindings_p()) + lv = IDENTIFIER_GLOBAL_VALUE (TREE_VALUE (scan)); + + if (! lv) + lv = error_mark_node; + } if (TREE_CODE (lv) != TYPE_DECL) { error ("Pointer domain `%s' is not a type", --- contrib/xbgi.ph~ Mon Mar 27 05:37:49 1995 +++ contrib/xbgi.ph Thu Apr 13 16:46:23 1995 @@ -231,7 +231,7 @@ FUNCTION keypressed : integer; C; FUNCTION readkey : char; C; - FUNCTION param_argv (i: integer); charptr; C; + FUNCTION param_argv (i: integer): charptr; C; FUNCTION paramcount: integer; C; { Here is ParamStr function: