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: William Clodius Subject: Re: Mysterious data corruption in Fortran with -automatic Date: 1998/06/05 Message-ID: <35780F2E.2781@lanl.gov>#1/1 X-Deja-AN: 359859899 Content-Transfer-Encoding: 7bit References: <01bd9013$76f09aa0$6f242499@stupidwin95><35774C1A.2985A59E@rhea.umd.edu><01bd9039$7d242ba0$LocalHost@stupidwin95> <01bd9090$495f13a0$LocalHost@stupidwin95> Content-Type: text/plain; charset=us-ascii Organization: Los Alamos National Lab Mime-Version: 1.0 Newsgroups: comp.sys.dec,comp.lang.fortran Kevin G. Rhoads wrote: > > The comment above was in response to the (implied) assertion that > it MUST be a code bug. > I never claimed it COULD NOT be a code bug, > I stand by what I have posted before, in context -- > this kind of behavior indicates THE POSSIBILITY > of a compiler bug > and > to assert that it ONLY results from code bugs is WRONG. > Quoting in its entirety from another post by Kevin on this thread: Please read what I wrote and respond to that. If the code gives CORRECT answers with compiler optimizations OFF and it gives WRONG answers with compiler optimizations ON -- question, where is the bug? Answer, in the compiler optimizations -- the code did NOT change, the compiler did. You may not have intended to say this, but in this you have asserted "it COULD NOT be a code bug". Note the post by Jeffrey J. Potoff that seems to have incited your deluge of postings, at first explicitly notes that optimizer errors are possible, but you seem to not have taken well his comments to the effect that one should not code around optimizer errors (which to me meant turn of the optimizer for that procedure rather than rewrite the code), and a comment about the sloppiness of the person who wrote bad code which I took to be refering to the more common case of programmer but not optimizer errors, but you seemed to take to imply the non-existence of optimizer errors. -- William B. Clodius Phone: (505)-665-9370 Los Alamos Nat. Lab., NIS-2 FAX: (505)-667-3815 PO Box 1663, MS-C323 Group office: (505)-667-5776 Los Alamos, NM 87545 Email: wclodius@lanl.gov