🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #6017

Re: GCC breaks when compiling gnuchess 3.1 (gnuchess.c)

#6017
From: Eric D. Hendrickson
Date: Sun, 27 Jan 1991 15:50
55 lines
3429 bytes
Here's a bit more info, from gdb and from a copy of gcc 1.35 that is still
laying around.
		--eric

[1]edh@ux ~/src/gnuchess 103% gdb /usr/local/gnu/libexec/gcc-cc1 core
GDB 3.1.2, Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /usr/local/gnu/libexec/gcc-cc1...done.
Core file is from "gcc-cc1".
Program terminated with signal 6, IOT trap.
Type "help" for a list of commands.
(gdb) where
#0  0x7221d in kill ()
#1  0xffff8eb4 in ?? ()
#2  0xffff8ed0 in ?? ()
#3  0x146 in gcc_compiled. () (c-parse.tab.c line 121)
#4  0x2020202 in ?? ()
(gdb)

I looked at c-parse.tab.c, I can't see anything wrong with it, but then I
don't know what to look for.

Here is the output from gcc 1.35, which so far seems to have worked, but...

        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -DHASHFILE=\
"/home/staff/edh/bin/lib/gnu/gnuchess.hash\" -DBOOK=\"/home/staff/edh/bin/lib/gn
u/gnuchess.book\" -c gnuchess.c
gnuchess.c: In function GenMoves:
gnuchess.c:1656: warning: function too large to be inline
gnuchess.c: In function KingScan:
gnuchess.c:2579: warning: function too large to be inline
gnuchess.c: In function PawnValue:
gnuchess.c:2706: warning: function too large to be inline
gnuchess.c: In function BishopValue:
gnuchess.c:2865: warning: function too large to be inline
gnuchess.c: In function RookValue:
gnuchess.c:2898: warning: function too large to be inline
        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -c uxdsp.c
        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -o gnuchess
gnuchess.o uxdsp.o -lcurses -ltermcap
        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -DCHESSTOOL
-c nondsp.c
        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -o gnuchessr
 gnuchess.o nondsp.o
        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -c nuxdsp.c
        /usr/gnu/bin/gcc -W -O -finline-functions -fstrength-reduce -o gnuchessn
 gnuchess.o nuxdsp.o -lcurses -ltermcap
[1]edh@ux ~/src/gnuchess 117%
-- 
/----------"Oh carrots are divine, you get a dozen for dime, its maaaagic."--
|Eric (the "Mentat-Philosopher") Hendrickson	  Academic Computing Services
|edh@ux.acs.umn.edu	   The game is afoot!	      University of Minnesota
\-"What does 'masochist' and 'amnesia' mean?   Beats me, I don't remember."--
Technical Details
Message-ID: <3136@ux.acs.umn.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!think.com!mintaka!spdcc!bu.edu!shelby!msi.umn.edu!cs.umn.edu!ux.acs!edh
References: <3135@ux.acs.umn.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1008f7ab8b8fd8b7
X-Google-Attributes: gid11318c,public
X-Google-Thread: 10d71d,1008f7ab8b8fd8b7
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1991-01-27 07:50:55 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!think.com!mintaka!spdcc!bu.edu!shelby!msi.umn.edu!cs.umn.edu!ux.acs!edh
From: edh@ux.acs.umn.edu (Eric D. Hendrickson)
Newsgroups: gnu.chess,gnu.gcc.help
Subject: Re: GCC breaks when compiling gnuchess 3.1 (gnuchess.c)
Keywords: more info
Message-ID: <3136@ux.acs.umn.edu>
Date: 27 Jan 91 15:50:55 GMT
References: <3135@ux.acs.umn.edu>
Reply-To: edh@ux.acs.umn.edu (Eric D. Hendrickson)
Followup-To: gnu.chess
Distribution: gnu
Organization: (n)  The process of becoming an organ.
Lines: 55