From: Marc Lepage <mlepage@cgocable.net>
Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?)
Date: 1997/12/19 [thread overview]
Message-ID: <349B2668.539BA9D2@cgocable.net> (raw)
In-Reply-To: 01bd0b9f$56ac9b20$8404a8c0@ant
Ant Moore wrote:
>
> Joshua Cope <cope@star.enet.dec.com> wrote in article
> <34980322.288D@star.enet.dec.com>...
>
> > "Internal program timing" isn't the only programming error that can
> > come out of the woodwork when optimization is enabled. Another
> > is that uninitialized variables "break" more often in optimized code.
> > I saw one of these a couple of weeks ago - the program worked great
> > until we used /OPTIMIZE; it turned out that it assumed an
> > uninitialized counter started out at zero.
I try to check for uninitialized variables, temporaries, etc. I think I
would have noticed them in investigating my bug. :-)
> The "internal timings" reference was an illustration, not an
> exhaustive list.
>
> Your example is simply an error in the source code. I have no problem
> when an optimizer exposes such errors. If a programmer makes such
> assumptions as your example in his source code, then he deserves all
> he gets.
>
> > Just because a problem happens (only) in optimized builds doesn't
> > mean there's a bug in the optimizer. It just means more investigation
> > is required.
>
> Agreed. But in such an investigation, one shouldn't assume that the
> compiler/optimizer is blameless!
I used to, until I found my second optimizer/compiler bug. Now I know a
few symptoms that may point to such problems, such as the aforementioned
"uninitialized variable" phenomenon. I don't rule it out now, although I
assume its probability is very low.
> > (And if there is a bug and you want it fixed, please report
> > it along with a short reproducer program!)
>
> I do.
>
> Cheers,
>
> Ant. (Tamworth, England)
>
> --
> "... Make me one with everything." The Dalai Lama at a hotdog stand.
>
> My e-mail address is disguised. Remove .nospam to reply.
--
SEGV
next prev parent reply other threads:[~1997-12-19 5:00 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-03 5:00 Is there a list of Alpha NT applications anywhere? Scott
1997-12-03 5:00 ` Terry Shannon
1997-12-04 5:00 ` Daniel Doguet
1997-12-03 5:00 ` Tim Mallery
1997-12-03 5:00 ` The One
1997-12-03 5:00 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Terry Shannon
1997-12-04 5:00 ` Rob Young
1997-12-04 5:00 ` CoffeeBean
1997-12-04 5:00 ` Paul Doherty
1997-12-05 5:00 ` Robin Garner
1997-12-05 5:00 ` James Van Buskirk
1997-12-05 5:00 ` Paul Bunn
1997-12-06 5:00 ` Paul DeMone
1997-12-06 5:00 ` John Wilson
1997-12-06 5:00 ` jf mezei
1997-12-07 5:00 ` Ron Freimuth
[not found] ` <3488E394.4C6A@EasyInternet.ne <34891ECB.222E@videotron.ca>
1997-12-12 5:00 ` Nigel Arnot
1997-12-12 5:00 ` Jeffrey Potoff
1997-12-12 5:00 ` jf mezei
1997-12-12 5:00 ` Marc Lepage
1997-12-12 5:00 ` Arun Sharma
1997-12-13 5:00 ` Like a tea tray in the sky...
1997-12-14 5:00 ` Agtabby
1997-12-13 5:00 ` Gregg E Economou
1997-12-13 5:00 ` jf mezei
1997-12-13 5:00 ` Marc Lepage
1997-12-14 5:00 ` Dirk Grunwald
1997-12-15 5:00 ` Marc Lepage
1997-12-17 5:00 ` Joe Mario
1997-12-19 5:00 ` Marc Lepage
1997-12-15 5:00 ` Jeffrey Potoff
1997-12-16 5:00 ` Ant Moore
1997-12-16 5:00 ` Dirk Grunwald
1997-12-16 5:00 ` Ketil Z Malde
1997-12-16 5:00 ` John Hascall
1997-12-17 5:00 ` Dirk Grunwald
1997-12-17 5:00 ` Ant Moore
1997-12-20 5:00 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT Roger Ivie
1997-12-17 5:00 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Joshua Cope
1997-12-18 5:00 ` Ant Moore
1997-12-19 5:00 ` Marc Lepage [this message]
1997-12-15 5:00 ` Jeffrey Potoff
1997-12-15 5:00 ` Alpha Dead? Naaahhhh Michael Moroney
1997-12-13 5:00 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Larry Kilgallen
1997-12-13 5:00 ` Alpha Dead? Naaahhhh Mark E. Levy
[not found] ` <3491FFE2.E1D71B82 <KETIL-87yb1l2g14.fsf@jenufa.infotek.no>
1997-12-19 5:00 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Nigel Arnot
1997-12-19 5:00 ` Marc Lepage
1998-01-03 5:00 ` Yasha
1997-12-05 5:00 ` Joshua Cope
1997-12-05 5:00 ` Douglas H. Borsom
1997-12-06 5:00 ` Jeffrey Potoff
1997-12-07 5:00 ` John Welter
1997-12-04 5:00 ` Rob Young
1997-12-04 5:00 ` CoffeeBean
1997-12-04 5:00 ` Terry Shannon
1997-12-05 5:00 ` Alpha Dead? Naaahhhh Robin Garner
1997-12-05 5:00 ` Ketil Z Malde
1997-12-05 5:00 ` Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Rob Young
1997-12-04 5:00 ` Arun Sharma
1997-12-06 5:00 ` jf mezei
[not found] ` <666au <66721l$olt$1@netnews.upenn.edu>
1997-12-05 5:00 ` Nigel Arnot
1997-12-07 5:00 ` Paul Doherty
1997-12-04 5:00 ` Is there a list of Alpha NT applications anywhere? Chris Morgan
1997-12-04 5:00 ` Anders Blicher Petersen
1997-12-08 5:00 ` Joshua Cope
1997-12-12 5:00 ` Bruce Harris
1997-12-04 5:00 ` Bill Merriam
1997-12-04 5:00 ` Joshua Cope
1997-12-05 5:00 ` Justin Young
1997-12-06 5:00 ` Agtabby
1997-12-12 5:00 ` Bruce Harris
1997-12-12 5:00 ` Arun Sharma
1997-12-13 5:00 ` Douglas H. Borsom
1997-12-13 5:00 ` Arun Sharma
1997-12-19 5:00 ` mleune
1997-12-16 5:00 ` Ketil Z Malde
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