incorrect C++ EH tests in egcs tree

Martin v. Loewis loewis@informatik.hu-berlin.de
Tue Mar 23 01:01:00 GMT 1999


I've installed the change below. I have not changed the other test case
Jonathan complained about, a patch is still needed her.

Regards,
Martin

Index: new2.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.eh/new2.C,v
retrieving revision 1.3
diff -u -r1.3 new2.C
--- new2.C      1998/12/16 21:30:01     1.3
+++ new2.C      1999/03/23 08:50:20
@@ -19,6 +19,7 @@
 
 int main ()
 {
+  newed = 0; // The libraries might call new before main starts.
   try {
     foo (new B (A ()));
   } catch (...) { }


More information about the Gcc-patches mailing list