Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Kevin G. Rhoads" <T_Rhoads@NoSpam.CLASSIC.MSN.COM>
Subject: Re: Mysterious data corruption in Fortran with -automatic
Date: 1998/06/05	[thread overview]
Message-ID: <01bd9090$495f13a0$LocalHost@stupidwin95> (raw)
In-Reply-To: ueemx412rk.fsf@heplix.ikp.physik.tu-darmstadt.de


Let me begin by thanking you for supplying real
substantive feedback, which should be helpful to
all readers.  This is something that a few earlier
posters failed to do.

>> 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.
>
>Simple example: 
Your example is excellent.  However, I must note it is an example of
how it CAN be a code bug not a compiler bug.  

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.

As I have clarifed elsewhere, checking for compiler bugs is
way down the to-do list.  But when one has checked for
code bugs and PREFERABLY had an independent code
review (because it is impossible to properly proof-read what
one has written oneself), and ...  and ... and  ...
There comes a time to suspect the compiler.

>> Are you just flaming?  Or do you have some justification you are not
>> sharing with the rest of us?
>
>Careful.  Forgetting to SAVE variables is a _very_ common mistake. 
Again, the above is NOT a response to "it may be your code" but
a (sarcastic) response to "it must be your code".

Thorsten, your comments are helpful, to the point and
no more judgemental than they absolutely have to be to
address the issue.  They offer real substance.  And provide
useful examples and suggestions.  

The post that the above was written in response to,
 in contrast to your helpful post, was
sarcastically judgmental
contained ZERO new information
contained ZERO helpful suggestions
TROLLish in tone and
wasteful of bandwidth by unnecessarily quoting

I have found most of the responses since then to 
be helpful, even when disagreeing.  They offer useful
information and suggestions.  Further, while suggesting,
oftimes strongly, that the code should be checked before
finger pointing at the compiler, most of the
subsequent posts seem to at least allow that perhaps,
when all else has been checked, the compiler may
have a bug.  WHICH WAS ALL I EVER MEANT TO 
SAY!
-- 
Kevin G. Rhoads, Ph.D.
T_Rhoads@NO_SPAM.Classic.MSN.COM
KRhoads@NO_SPAM.CmpNetMail.com



  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       ` 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
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           ` 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       ` Jeffrey J. Potoff
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     ` Kevin G. Rhoads
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-05  4:00       ` Thorsten Ohl
1998-06-05  4:00         ` Kevin G. Rhoads [this message]
1998-06-05  4:00           ` William Clodius
1998-06-05  4:00       ` William Clodius
1998-06-04  4:00     ` Kevin G. Rhoads
1998-06-05  4:00       ` Catherine Rees Lay
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