-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii I believe that the following changes do not create regressions with the current libstdc++ (I have not checked though). However, not correcting those creates regressions with libstdc++-v3. More general question, if libstdc++-v3 is the default for gcc-3.0, shouldn't start to prepare the testsuite ?? Index: g++.old-deja/g++.other/crash20.C =================================================================== RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.other/crash20.C,v retrieving revision 1.1 diff -c -3 -p -r1.1 crash20.C *** crash20.C 2000/07/23 19:59:41 1.1 - --- crash20.C 2000/09/21 18:58:48 *************** int *** 32,38 **** main () { GcspFlags::btmFlag f; ! const type_info& ti = typeid (f); return 0; } - --- 32,38 ---- main () { GcspFlags::btmFlag f; ! const std::type_info& ti = typeid (f); return 0; } Index: g++.old-deja/g++.other/inline14.C =================================================================== RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.other/inline14.C,v retrieving revision 1.1 diff -c -3 -p -r1.1 inline14.C *** inline14.C 2000/09/20 18:28:36 1.1 - --- inline14.C 2000/09/21 18:58:48 *************** struct IDENT *** 7,13 **** { enum TYPE { Variable, Constant } type; ! ostream& printTo(ostream& out) const { switch (type) { - --- 7,13 ---- { enum TYPE { Variable, Constant } type; ! std::ostream& printTo(std::ostream& out) const { switch (type) { *************** struct TC *** 34,40 **** }; template ! inline ostream& operator<< (ostream& out, const TC &c) { c.getIdent().printTo(out); return out; - --- 34,40 ---- }; template ! inline std::ostream& operator<< (std::ostream& out, const TC &c) { c.getIdent().printTo(out); return out; *************** inline ostream& operator<< (ostream& out *** 42,49 **** void foo(const TC &c) { ! cerr << c ! << ": " // This line is crucial! ! << c ! << endl; } - --- 42,49 ---- void foo(const TC &c) { ! std::cerr << c ! << ": " // This line is crucial! ! << c ! << endl; } Index: g++.old-deja/g++.pt/ttp62.C =================================================================== RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.pt/ttp62.C,v retrieving revision 1.1 diff -c -3 -p -r1.1 ttp62.C *** ttp62.C 2000/09/05 01:01:39 1.1 - --- ttp62.C 2000/09/21 18:58:48 *************** bool is_C (const T&) { *** 21,27 **** }; int main() { ! cout << "should be true: " << is_C(C()) << endl; ! cout << "should be false: " << is_C(D()) << endl; return 0; } - --- 21,27 ---- }; int main() { ! std::cout << "should be true: " << is_C(C()) << std::endl; ! std::cout << "should be false: " << is_C(D()) << std::endl; return 0; } -------------------------------------------------------------------- Theodore Papadopoulo Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01 -------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: Exmh version 2.2 06/23/2000 iD8DBQE5yl0KIzTj8qrxOU4RAr9AAJ9BDFL9SH3U8Xtz9G5oNd8PJt0iVQCgnqy4 YfMnQCIfby24oRZX8gnKtRY= =VGu5 -----END PGP SIGNATURE-----