regression tests and shared libraries

Alexandre Oliva oliva@dcc.unicamp.br
Wed Jun 30 15:43:00 GMT 1999


On Jun  7, 1999, Marc Dionne <dionne@cs.wisc.edu> wrote:

> .. so any include file found in
> "/s/gcc-2.95/src/snapshot/egcs/libstdc++/stl" will supersede the ones
> from the installed egcs-1.1.2

I have mixed feelings about whether they should supersede them or not.
On one hand, when regression-testing, we should feed the same sources
to both versions of the compiler, and this includes the STL, which is
supposed to be portable C++, but not necessarily other internal header
files, taht may be more closely linked to one particular version of
the compiler.  On the other hand, sometimes, when introducing a major
new feature, we may change an STL configuration variable, and then the 
old version will probably lose big time.  In such a case, you can
always set add -I/path/to/old-egcs/include/g++ to GCC_UNDER_TEST (can
you?) and get reasonable comparisons, or just get additional failures
for the old release, which is something quite normal anyway.

So I seem to prefer the current behavior.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the Gcc mailing list