comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@btopenworld.com>
Subject: Re: Task discriminants
Date: Tue, 25 May 2004 22:40:00 +0000 (UTC)
Date: 2004-05-25T22:40:00+00:00	[thread overview]
Message-ID: <c90hvv$blh$1@titan.btinternet.com> (raw)
In-Reply-To: 0pGdnb8KMtY7Ni7dRVn-jw@megapath.net

"Randy Brukardt" <randy@rrsoftware.com> wrote in message
news:0pGdnb8KMtY7Ni7dRVn-jw@megapath.net...
> > Absolutely! But that was kind of my question - is there any
implementation
> > that won't give the desired result in this case? Not to my knowledge but
> then
> > I don't have access to every implementation...
>
> I meant even on a particular implementation. A different setting of
> optimization flags, a different expression in the discriminant default,
and
> an implementation that appears to work on your test program could do
> something different. So just because you have some instance of it that
works
> with some particular set of compiler switches does not mean that that
> implementation "gives the desired result" in general. Only your
implementor
> could really tell you, and even they might not know for sure.

Really?!

I'm not sure what you mean by "a different expression in the
discriminant default" - that's always going to be a call to the
function in the example I gave? No?

As to different optimization flags, I would have thought that falls under
the same category "haven't found one yet that does anything other than
the 'sensible' option" - but you never know.

There are other precedents for "polling" to find out what all ARA compiler
vendors do in particular cases - I guess I'd be interested in such a poll.
If
there is already a 'de facto' standard implmentation I don't see any harm
in making it Implementation Advice - I do see the harm in requiring such
behaviour! ;-)

I also recognize that I'm but one (user) voice and that the
ARA/Ada-Comment have better things to do! For me I'm ok with assuming
the 'sensible' option and testing it happens - that may be good enough for
other folks.

Cheers

-- Martin





  reply	other threads:[~2004-05-25 22:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-20 14:47 Task discriminants Dave Levy
2004-05-20 17:17 ` David C. Hoos
2004-05-20 18:37   ` Martin Dowie
2004-05-21  0:39     ` Georg Bauhaus
2004-05-21  1:04       ` Jeffrey Carter
2004-05-21  9:43     ` Phil Slater
2004-05-21 12:43       ` Martin Dowie
2004-05-21 19:42         ` Randy Brukardt
2004-05-21 22:05           ` Martin Dowie
     [not found]           ` <c8luk4$29b$1@hercules.btinternet.com>
2004-05-21 23:16             ` Randy Brukardt
2004-05-22  7:55               ` Martin Dowie
2004-05-24 21:34                 ` Randy Brukardt
2004-05-25  5:48                   ` Martin Dowie
2004-05-25 20:25                     ` Randy Brukardt
2004-05-25 22:40                       ` Martin Dowie [this message]
2004-05-20 17:30 ` Martin Krischik
2004-05-21  7:57   ` Dmitry A. Kazakov
2004-06-04 12:59     ` Andersen Jacob Sparre
2004-05-21 16:46   ` Robert I. Eachus
2004-05-22  7:54     ` Martin Dowie
2004-05-22 16:18     ` Pascal Obry
2004-05-24 21:36       ` Randy Brukardt
2004-05-25 21:22       ` Robert I. Eachus
2004-06-04 23:26 ` Nick Roberts
2004-06-07 22:12   ` Karen
replies disabled

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