Article View: comp.sys.transputer
Article #108Re: BUGS (was "compiler error")
From: Jan Vorbrueggen
Date: Mon, 10 Aug 1992 21:59
Date: Mon, 10 Aug 1992 21:59
29 lines
2110 bytes
2110 bytes
> > To save me (and possibly you/others) relearning the wheel (the HARD way) > could somebody drop the net a pointer to a list of know compiler bugs (etc) > Beat hard upon your distributor there is a public, published bug list from INMOS for all their software products. It took me about half a year to get it out of parsytec (by that time I had found three serious code generation bugs in the occam compiler, two of which were documented). There was indeed a bug in the compiler with the return value of functions, which turned up in two cases: more than 3 return arguments of one type (overflow of the register stack, but caller and callee part of the code generator had different ideas of what to do in that case); the RETURN line itself called a function returning, eg, a float the compiler doesn't distinguish properly between the integer and floating evaluation stack. A victim of that last bug is the wellknown function RAN as supplied with the compiler, it will never work! But I haven't had the compiler complain in such a way as you report maybe you're lucky, because I spent days trying to find out what went wrong, including looking at the disassembled code. (The numbers after the error, BTW, are first an error number you can look up in the manual and then an errorspecific number of which there is exactly no docuumentation in all cases :)) Good hunting, Jan jan@neuroinformatik.ruhrunibochum.de
Technical Details
Message-ID:
<JAN.92Aug10175954@pallas.neuroinformatik.ruhr-uni-bochum.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!rz.ruhr-uni-bochum.de!janReferences:
<5593@m1.cs.man.ac.uk> <5613@m1.cs.man.ac.uk> <JAN.92Aug7121302@pallas.neuroinformatik.ruhr-uni-bochum.de> <1431@eagle.ukc.ac.uk> <5634@m1.cs.man.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!rz.ruhr-uni-bochum.de!jan From: jan@pallas.neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen) Newsgroups: comp.sys.transputer Subject: Re: BUGS (was "compiler error") Message-ID: <JAN.92Aug10175954@pallas.neuroinformatik.ruhr-uni-bochum.de> Date: 10 Aug 92 21:59:54 GMT References: <5593@m1.cs.man.ac.uk> <5613@m1.cs.man.ac.uk> <JAN.92Aug7121302@pallas.neuroinformatik.ruhr-uni-bochum.de> <1431@eagle.ukc.ac.uk> <5634@m1.cs.man.ac.uk> Organization: Inst. f. Neuroinformatik, Ruhr-Universitaet Bochum, FRG Lines: 29 In-reply-to: bane@vtx.ma.man.ac.uk's message of 7 Aug 92 17:24:19 GMT