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: "Jeffrey J. Potoff" Subject: Re: Mysterious data corruption in Fortran with -automatic Date: 1998/06/05 Message-ID: <35783832.564A330D@rhea.umd.edu>#1/1 X-Deja-AN: 359903683 Content-Transfer-Encoding: 7bit References: <01bd9013$76f09aa0$6f242499@stupidwin95> <35774C1A.2985A59E@rhea.umd.edu> <01bd9036$7ae7fea0$LocalHost@stupidwin95> <3577C0BE.3F3C879D@nonexistant.com> <01bd908a$2daad960$LocalHost@stupidwin95> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: University of Maryland Newsgroups: comp.sys.dec,comp.lang.fortran Kevin G. Rhoads wrote: > > Exactly. > > I have no disagreement with that. > > However, when responding to flamers > who assert that all errors MUST be > in the code ALL the time. Who so flame > without adding any useful information. > I responded by streamlining the logic. > > It was probably a mistake to try to simplify > the logic to the level where a self-righteous, > unhelpful flamer (such as Jeffery would appear > to be, based upon his post above) could > perhaps understand it. But I did > so simplify the logic and present it. Feel better now ? I hear people going on and on about 'compiler bugs' or 'the optimizer broke my code' when 99% of the time the bug is in the code. Which is more arrogant and self-righteous ? Believing that the bug *must* be in the optimizer or that your code is the source of the problem ? > > So, yes, I agree. The presence of errors > which appear solely in response to increased > optimization is NOT PROOF of a compiler > bug. It is merely evidence that may indicate > several things. And most of the things it > can indicate are programmer errors or oversights. > BUT, there comes a point, after one has tested > the code, proof-read it repeatedly, asked fellow > programmers to review it, tried multiple compilers > with multiple settings and multiple debuggers and > code testing tools -- somewhen, there comes a > point at which checking for a bug in the optimizer > is a reasonable thing to start doing. If you really think it's a compiler bug there's no sense screwing around, you call the folks at DEC (since this is posted to comp.sys.dec I'm going to assume that's what you're talking about) and send the code to them. BTW - Just what is the deal with this chip on your shoulder, going on and on about 'flaming' ? I didn't flame anyone, I just stated that nearly all 'optimizer' bug are in reality code bugs. For some reason you've taken this very personally. Sheesh, lighten up. It's not like I'm talking trash about your mother. Jeff