Re: Compiler Bugs, please!

Toon Moene <>
24 Dec 2001 00:09:16 -0500

          From comp.compilers

Related articles
Compiler Bugs, please! (F. Liekweg) (2001-12-20)
Re: Compiler Bugs, please! (Martin von Loewis) (2001-12-22)
Re: Compiler Bugs, please! (2001-12-24)
Re: Compiler Bugs, please! (Toon Moene) (2001-12-24)
| List of all articles for this month |

From: Toon Moene <>
Newsgroups: comp.compilers
Date: 24 Dec 2001 00:09:16 -0500
Organization: Moene Computational Physics, Maartensdijk, The Netherlands
References: 01-12-093
Keywords: errors
Posted-Date: 24 Dec 2001 00:09:16 EST

"F. Liekweg" wrote:

> I am interested in learning about compiler bugs. The 'My compiler
> crashes when trying to do [...] feature' kind of thing is probably
> known to everybody; but what about the more obscure kind, like the
> FORTRAN [ ... ] compilers which allowed one to assign a value to a
> constant.

Hmmm, if you're refering to the following case:

            CALL SUB(1)
            SUBROUTINE SUB(I)
            I = 2

I'm afraid I can't see the "compiler bug".

This is simply a programmer fallacy. Please read the comp.lang.fortran
Toon Moene - - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77:
Join GNU Fortran 95: (under construction)
[There have been compilers that trapped that at runtime, or at least
mitigated the damage short of turning every 1 in the program into 2.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.