comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: What is the warning about builtin-function on gcc-4.6.0 ?
Date: Tue, 29 Mar 2011 18:35:20 -0500
Date: 2011-03-29T18:35:20-05:00	[thread overview]
Message-ID: <imtqbq$ali$1@munin.nbi.dk> (raw)
In-Reply-To: wcc39m5u64w.fsf@shell01.TheWorld.com

"Robert A Duff" <bobduff@shell01.TheWorld.com> wrote in message 
news:wcc39m5u64w.fsf@shell01.TheWorld.com...
> "Randy Brukardt" <randy@rrsoftware.com> writes:
...
> Sure, EQUAL can raise C_E on invalid values.
> But I don't think it can return True for invalid values
> that are not mathematically equal.  (If it can, I think it's
> a mistake in the REPORT package.)  I'm too lazy to inspect it
> right now.

I did inspect it, and proved to myself that I had no idea what it actually 
does. :-)

I do think the intent was that it returns the equal result, but that isn't 
documented anywhere (although it might be in the super-secret manual --  
nobody reads that, including me. :-)

> Has EQUAL changed since Ada 83 days?  Just curious.

I don't think so. The change log consists of lots of entries "Updated ACATS 
version string to "3.0"". The last substantive change is some functions 
added in June 1995; no changelog entry mentions Equal.

>> I suspect that there are lot of tests that might fail if the rules for 
>> valid
>> values are taken to the limit -- any test that intentionally raises an
>> exception is always at risk for optimization problems (and that is what
>> 13.9.1 is ultimately about).
>
> Yes, and I'll bet an agressive implementation of 11.6 would find some
> wrong ACATS tests.

That of course has happened a lot in the past. Fewer implementors are 
reporting anything these days, which probably only means that there is less 
active implementation.

                                 Randy.





  reply	other threads:[~2011-03-29 23:35 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26  6:32 What is the warning about builtin-function on gcc-4.6.0 ? ytomino
2011-03-26  8:45 ` Florian Weimer
2011-03-26  9:13   ` ytomino
2011-03-26  9:43     ` Florian Weimer
2011-03-26 10:07       ` ytomino
2011-03-26 10:24         ` Florian Weimer
2011-03-26 15:14           ` Dmitry A. Kazakov
2011-03-26 21:36             ` ytomino
2011-03-27  9:50               ` Dmitry A. Kazakov
2011-03-26 14:50         ` Simon Wright
2011-03-26 15:50           ` Florian Weimer
2011-03-26 16:32             ` Simon Wright
2011-03-26 17:02               ` Florian Weimer
2011-03-26 17:48                 ` Simon Wright
2011-03-26 18:48                   ` Florian Weimer
2011-03-27  2:08                 ` Randy Brukardt
2011-03-27  8:37                   ` Florian Weimer
2011-03-27 16:41                     ` Robert A Duff
2011-03-27 17:21                       ` Florian Weimer
2011-03-27 17:56                         ` Robert A Duff
2011-03-27 16:51                     ` Robert A Duff
2011-03-27 17:05                       ` Florian Weimer
2011-03-27 17:14                         ` Robert A Duff
2011-03-29  2:20                           ` Randy Brukardt
2011-03-29 18:35                             ` Robert A Duff
2011-03-29 23:35                               ` Randy Brukardt [this message]
2011-03-30  1:02                               ` Adam Beneschan
2011-03-30 12:57                                 ` Robert A Duff
2011-03-30 14:41                                   ` Adam Beneschan
2011-03-30 18:39                                     ` Robert A Duff
2011-03-30 19:28                                   ` Randy Brukardt
2011-03-26 21:58       ` ytomino
2011-03-26 22:00         ` Florian Weimer
2011-03-26 22:22 ` anon
2011-03-26 22:36   ` ytomino
2011-03-27 12:00     ` anon
2011-03-27 18:50       ` ytomino
2011-03-27 23:35         ` anon
2011-03-27 23:42         ` anon
replies disabled

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