From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,cf4ba3d07912d446 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1094ba,cf4ba3d07912d446 X-Google-Attributes: gid1094ba,public From: Ian Chivers Subject: Re: Mysterious data corruption in Fortran with -automatic Date: 1998/06/05 Message-ID: <3577D892.568C@kcl.ac.uk>#1/1 X-Deja-AN: 359786107 Content-Transfer-Encoding: 7bit References: <01bd9013$76f09aa0$6f242499@stupidwin95> <35774C1A.2985A59E@rhea.umd.edu> <01bd9039$7d242ba0$LocalHost@stupidwin95> To: "Kevin G. Rhoads" Content-Type: text/plain; charset=us-ascii Organization: king's college london Mime-Version: 1.0 Reply-To: ian.chivers@kcl.ac.uk Newsgroups: comp.sys.dec,comp.lang.fortran Kevin G. Rhoads wrote: > > Dear Jeffrey: > > All of what you've said boils down to > >you must be writing buggy code< > asserted with > NO justification, based on what was posted > NO reasoning or evidence offered in support > > Would you care to offer some substantive > suggestions, data, or references? > > I fail to see how anyone can reasonable > suggest that when code > compiles cleanly, with neither error NOR WARNING > and produces two wildly different results > depending ONLY on the compiler settings > that it MUST be bugs in the code, > and the compiler is necessarily faultless. > i've just finished marking course work for 1st and second year mechanical engineering degree students. in both cases i've had programs handed in that generate the correct results on one platform. i spend the time moving the programs to a second platform and observe what happens. the programs generate the 'correct' results in the 1st case purely because of initialisation of variables to 0. so even the correct results aren't a guarantee of errors in the program. > Are you just flaming? Or do you have some > justification you are not sharing with the rest > of us? > -- > Kevin G. Rhoads, Ph.D. > T_Rhoads@NO_SPAM.Classic.MSN.COM > KRhoads@NO_SPAM.CmpNetMail.com this is not meant as a criticism just an example of how difficult it is at times to be sure that the program works correctly. ian chivers computer centre king's college london