[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: egcs-1.1.2: exceptions fail on i386-next-nextstep3 platform
From: Rex Dieter <rdieter () math ! unl ! edu>
Date: 1999-06-29 20:13:55
[Download RAW message or body]
Using egcs-1.1.2, exceptions result in program termination on
i386-next-nextstep3 platform.
Here's a small example:
> cat exceptions.cc
#include <iostream.h>
class AnException {
public:
AnException() {};
}; // end class AnException //
int main(int argc, const char* argv[]) {
cout << "Program start" << endl;
try {
cout << "Now throwing an exception" << endl;
throw AnException();
}
catch (AnException& ex) {
cout << "Exception caught" << endl;
}
cout << "Program end" << endl;
return 0;
} // end main //
> g++ -v
Reading specs from /usr/local/lib/gcc-lib/i386-next-nextstep3/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
> g++ exceptions.cc
> ./a.out
Program start
Now throwing an exception
IOT trap
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic