This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
EH broken in HPPA egcs-1.0?
- To: egcs at cygnus dot com
- Subject: EH broken in HPPA egcs-1.0?
- From: Neal Becker <neal at ctd dot comsat dot com>
- Date: 10 Dec 1997 15:53:32 -0500
- Reply-To: egcs at cygnus dot com
I tried a trivial test program using EH (one of the dejagnu g++ tests)
on hppa1.1-hpux9.05 egcs-1.0 and it segfaults:
extern "C" void puts(const char *);
class foo {
public:
class error {};
void cause_error(void) { throw error(); }
};
int main(void)
{
foo f;
try {
f.cause_error();
}
catch (foo::error) {
puts("Caught it.");
}
return 0;
}