Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jeffrey J. Potoff" <jpotoff@rhea.umd.edu>
Subject: Re: Mysterious data corruption in Fortran with -automatic
Date: 1998/06/05	[thread overview]
Message-ID: <35783832.564A330D@rhea.umd.edu> (raw)
In-Reply-To: 01bd908a$2daad960$LocalHost@stupidwin95


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



  parent reply	other threads:[~1998-06-05  4:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-04  4:00 Mysterious data corruption in Fortran with -automatic Keith Refson - real email address in signature
1998-06-04  4:00 ` Kevin G. Rhoads
1998-06-04  4:00   ` Jeffrey J. Potoff
1998-06-04  4:00     ` Kevin G. Rhoads
1998-06-05  4:00       ` Thorsten Ohl
1998-06-05  4:00         ` Kevin G. Rhoads
1998-06-05  4:00           ` William Clodius
1998-06-05  4:00       ` William Clodius
1998-06-05  4:00       ` Ian Pattie
1998-06-05  4:00         ` Jeffrey J. Potoff
1998-06-05  4:00           ` Kevin G. Rhoads
1998-06-06  4:00           ` Rob Komar
1998-06-05  4:00       ` Ian Chivers
1998-06-05  4:00         ` Kevin G. Rhoads
1998-06-04  4:00     ` Kevin G. Rhoads
1998-06-05  4:00       ` Catherine Rees Lay
1998-06-04  4:00     ` Kevin G. Rhoads
1998-06-05  4:00       ` Jeffrey J. Potoff
1998-06-05  4:00       ` Keith Refson - real email address in signature
1998-06-05  4:00         ` Robert O'Dowd
1998-06-05  4:00           ` Kevin G. Rhoads
1998-06-05  4:00           ` John Appleyard
1998-06-05  4:00             ` Keith Refson - real email address in signature
1998-06-05  4:00         ` Kevin G. Rhoads
1998-06-05  4:00       ` Robert O'Dowd
1998-06-05  4:00         ` Kevin G. Rhoads
1998-06-05  4:00           ` Stuart Brook
1998-06-05  4:00           ` Jeffrey J. Potoff [this message]
1998-06-05  4:00       ` Harald Anlauf
1998-06-05  4:00         ` Kevin G. Rhoads
1998-06-08  4:00       ` Paul Winalski
1998-06-04  4:00     ` Stuart Brook
1998-06-04  4:00       ` Kevin G. Rhoads
1998-06-05  4:00         ` Stuart Brook
1998-06-05  4:00       ` Toon Moene
1998-06-04  4:00 ` Thorsten Ohl
1998-06-06  4:00 ` SUMMARY: Code errors which can masquerade as compiler bugs " Kevin G. Rhoads
1998-06-11  4:00   ` Ron Sverdlove x2517
1998-06-08  4:00 ` Steve Lionel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox