comp.lang.ada
 help / color / mirror / Atom feed
From: Russ Allbery <rra@stanford.edu>
Subject: Re: GNAT versions ( was :Ada compiler for PC?)
Date: 1999/04/25
Date: 1999-04-25T00:00:00+00:00	[thread overview]
Message-ID: <yl676lnovr.fsf@windlord.stanford.edu> (raw)
In-Reply-To: 7fud3l$hqi$1@nnrp1.dejanews.com

In gnu.misc.discuss, Robert Dewar <robert_dewar@my-dejanews.com> writes:

> One problem of course is that only ACT has access to the ACT regression
> suite. This is fundamental, it is mostly proprietary code, that we
> promise to guard very closely.  Similarly, the DEC test suite is
> proprietary code to which we have access, but most certainly not
> distribution rights.

This is actually a really interesting issue that faces any developer of a
free software compiler.

Fundamental to compiler development of any sort is extensive regression
testing, since a bug in a compiler will not only cause the compiler to not
function correctly, but may also propagate breakage to everything compiled
with the compiler, sometimes in extremely subtle ways that are damnably
hard to detect.  Extensive testing is considerably more important even
than for other critical system utilities, and the need is probably
equalled only by system kernels and libc.

One of the best sorts of tests are things that used to be broken and are
now fixed, that can be tested with every change to make sure they don't
break again.  (That's the definition of regression testing, in fact.)  But
what a compiler breaks on is certain code constructs, and other people's
code is quite frequently not under the same license as the compiler
itself.  Therefore, if one actually uses one of the best sources of a test
suite for a compiler, one ends up with a test suite that's covered under a
bunch of conflicting licenses, including, quite frequently, proprietary
ones (since people still do write a lot of proprietary software), and
which almost certainly can't be easily distributed with the compiler.

Companies are usually willing to let their internal code be used for
testing the compiler that they actually use, but they're much less likely
to be willing to have that code redistributed.  But not adding a good test
to the test suite due to licensing issues isn't very palatable either, nor
is trying to rewrite the test.  (In fact, the latter is often not even
possible, since the obscure interactions that caused the bug in the first
place usually disappear in a rewrite.)

It makes a great deal of sense for there to be a "traditional" software
support company associated with a free compiler effort that can take bug
reports and test code from companies and other sources and perform
regression tests against the free source base using that information, even
if the test code can't be redistributed.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>




  reply	other threads:[~1999-04-25  0:00 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-17  0:00 Ada compiler for PC? Michael Feher
1999-04-17  0:00 ` Steven Hovater
1999-04-17  0:00 ` Tom Moran
1999-04-18  0:00   ` Tom Moran
1999-04-20  0:00   ` Larry Kilgallen
1999-04-20  0:00     ` Robert Dewar
1999-04-20  0:00       ` Tom Moran
1999-04-20  0:00       ` GNAT versions ( was :Ada compiler for PC?) SpamSpamSpam
1999-04-21  0:00         ` Robert Dewar
1999-04-21  0:00           ` Glen
1999-04-21  0:00             ` Larry Kilgallen
1999-04-21  0:00               ` root
1999-04-22  0:00                 ` dennison
1999-04-22  0:00                 ` Robert Dewar
1999-04-22  0:00                   ` Glen
1999-04-23  0:00                     ` Robert Dewar
1999-04-22  0:00                       ` Russell Senior
1999-04-23  0:00                         ` Samuel Mize
1999-04-23  0:00                           ` Robert Dewar
1999-04-23  0:00                           ` Russell Senior
1999-04-23  0:00                             ` Robert Dewar
1999-04-23  0:00                               ` Larry Kilgallen
1999-04-23  0:00                             ` Samuel Mize
1999-04-25  0:00                               ` Robert Dewar
     [not found]                             ` <7fqld6$htu$1@nnrp1.dej <1999Apr23.172908.1@eisner>
1999-04-24  0:00                               ` Fergus Henderson
     [not found]                               ` <7frqmj$bg6$1@mulga.cs.mu.oz.au>
1999-04-24  0:00                                 ` Leslie Mikesell
1999-04-25  0:00                                   ` Robert Dewar
1999-04-25  0:00                                     ` Russ Allbery [this message]
1999-04-25  0:00                                       ` Robert Dewar
1999-04-25  0:00                                     ` Maciej Stachowiak
1999-04-26  0:00                                       ` Robert Dewar
1999-04-25  0:00                                         ` Maciej Stachowiak
1999-04-26  0:00                                         ` Per Bothner
1999-04-27  0:00                                           ` Stan Shebs
1999-04-27  0:00                                           ` Robert Dewar
1999-04-27  0:00                                             ` Matthew Heaney
1999-04-28  0:00                                               ` Robert Dewar
1999-04-28  0:00                                                 ` David Kastrup
1999-04-28  0:00                                                   ` Robert Dewar
1999-04-29  0:00                                                 ` Per Bothner
1999-04-30  0:00                                                   ` Robert Dewar
1999-05-04  0:00                                                   ` Mike Stump
1999-05-05  0:00                                                     ` Robert Dewar
1999-05-06  0:00                                                       ` Mike Stump
1999-05-06  0:00                                                         ` Robert Dewar
1999-05-06  0:00                                                           ` Andi Kleen
1999-05-06  0:00                                                             ` Robert Dewar
1999-05-07  0:00                                                           ` Mike Stump
1999-05-07  0:00                                                             ` Robert Dewar
1999-05-08  0:00                                                       ` Pascal F. Martin
1999-05-08  0:00                                                         ` Robert Dewar
1999-05-08  0:00                                                           ` bill
1999-05-17  0:00                                                   ` Richard Kenner
1999-05-19  0:00                                                     ` Nick Roberts
1999-04-27  0:00                                           ` Robert Dewar
1999-04-24  0:00                             ` Russ Allbery
1999-04-23  0:00                         ` bourguet
1999-04-25  0:00                           ` Geoffrey KEATING
1999-04-25  0:00                             ` Robert Dewar
1999-04-25  0:00                               ` EGCS & GNAT Was (Re: GNAT versions) David Starner
1999-04-26  0:00                                 ` Robert Dewar
1999-04-26  0:00                                 ` Robert Dewar
1999-04-26  0:00                               ` GNAT versions ( was :Ada compiler for PC?) Geoffrey KEATING
1999-04-26  0:00                             ` bourguet
     [not found]                             ` <7fua23$fgh$1@nnrp1 <37234dca.a509d0d9@aasaa.ofe.org>
1999-04-26  0:00                               ` EGCS & GNAT Was (Re: GNAT versions) Larry Kilgallen
1999-04-23  0:00                         ` GNAT versions ( was :Ada compiler for PC?) Pascal Obry
1999-04-23  0:00                           ` dennison
1999-04-23  0:00                             ` Robert Dewar
1999-04-24  0:00                           ` Christopher Browne
1999-04-24  0:00                       ` Ronald Cole
1999-04-21  0:00             ` Robert Dewar
1999-04-18  0:00 ` Ada compiler for PC? Wilhelm Spickermann
     [not found] ` <7fua23$fgh$1@nnrp1 <37234dca.a <1999Apr25.201259.1@eisner>
1999-04-25  0:00   ` EGCS & GNAT Was (Re: GNAT versions) Leslie Mikesell
1999-04-26  0:00     ` Robert Dewar
1999-04-26  0:00     ` Larry Kilgallen
1999-04-26  0:00       ` Robert Dewar
1999-05-04  0:00         ` Mike Stump
1999-05-05  0:00           ` Robert Dewar
replies disabled

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