Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!lll-lcc!mordor!styx!ames!oliveb!sun!cmcmanis From: cmcmanis@sun.uucp (Chuck McManis) Newsgroups: comp.lang.c,comp.lang.fortran,comp.lang.misc,comp.lang.modula2 Subject: Re: Collecting favorite bug stories Message-ID: <11754@sun.uucp> Date: Tue, 20-Jan-87 17:59:51 EST Article-I.D.: sun.11754 Posted: Tue Jan 20 17:59:51 1987 Date-Received: Wed, 21-Jan-87 06:38:16 EST References: <3669@curly.ucla-cs.UCLA.EDU> <2722@udenva.UUCP> <494@gec-mi-at.co.uk> Organization: Sun Microsystems, Inc. Lines: 19 Summary: Well, maybe a little humorous Xref: mnetor comp.lang.c:803 comp.lang.fortran:56 comp.lang.misc:170 comp.lang.modula2:92 Of course there was a time when you could right a Fortran program for TOPS-10 like so : FOO(0.0,10) SUBROUTINE FOO(A,B) A = B * 3 RETURN END And when executed the compiler generated constant for zero was a pointer to some known word with zero in it was changed. This affected all subsequent references to the constant 0.0 by your program or anyone elses on the system! -- --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.