Related articles |
---|
[5 earlier articles] |
Re: failure due to compiler? dennis@netcom.com (1996-07-10) |
Re: failure due to compiler? dennis@netcom.com (1996-07-10) |
Re: failure due to compiler? grout@polestar.csrd.uiuc.edu (1996-07-10) |
Re: failure due to compiler? khays@sequent.com (1996-07-10) |
Re: failure due to compiler? cliffc@ami.sps.mot.com (1996-07-10) |
Re: failure due to compiler? WStreett@shell.monmouth.com (1996-07-13) |
Re: failure due to compiler? jfc@mit.edu (1996-07-13) |
Re: failure due to compiler? bobduff@world.std.com (1996-07-13) |
Re: failure due to compiler? baynes@ukpsshp1.serigate.philips.nl (1996-07-13) |
Re: failure due to compiler? alain@phidani.be (Corchia Alain) (1996-07-15) |
Re: failure due to compiler? dave_sc@csl.sri.com (1996-07-15) |
Re: failure due to compiler? kanze@lts.sel.alcatel.de (1996-07-16) |
Re: failure due to compiler? glew@ichips.intel.com (1996-07-16) |
[17 later articles] |
From: | jfc@mit.edu (John Carr) |
Newsgroups: | comp.compilers |
Date: | 13 Jul 1996 17:01:27 -0400 |
Organization: | Massachusetts Institute Of Technology |
References: | 96-07-041 96-07-056 |
Keywords: | errors |
Peter L Flake <flake@elda.demon.co.uk> wrote:
>[Anyone got any insight into why in the world they made a non-deterministic
>compiler? -John]
Deterministic pseudo-random numbers might be useful for some algorithms.
Once you are using random numbers it is an easy mistake or misunderstanding
to use a non-constant seed (some implementations will invent a time-of-day
or process ID seed if you don't provide one).
I've encountered dozens of bugs in released compilers. Usually I find the
bug during development. I've had good luck with compiler upgrades. They
don't always work, but the failures tend to be catastrophic and once the
program is written it is much easier to distinguish compiler bugs from
program bugs.
--
John Carr (jfc@mit.edu)
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.