This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC2 merging (was "native language support now available")


  kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> 
> say that such testing isn't very valuable.  The kind of testing that's the
> most important in producing high reliability software is *unit testing*,
> which means testing each function individually to make sure it meets its
> specifications under all conditions.  As far as I know, this is not done for
> either gcc2 or egcs.
> 
IMHO it's difficult if not impossible to verify gcc this way. Just look at
the bugs squashed during egcs-1.1 development. Many of them only surfaced
under very specific circumstances and the test programs frequently are
twenty lines of C, all important to trigger the bug.

Mind you, I don't have a better answer either...

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
-- 
Q:  How many astronomers does it take to change a light bulb?
A:  None.  Astronomers prefer the dark.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]