C++ EH on IA64 (both HP-UX and Linux) appears to be broken. Here is a minimal test case, on Linux I get a Memory Fault when running the program:
int main(int argc, char *argv[]) { try { throw 0; } catch (int) { }; } -- Summary: C++ EH broken on IA64, many tests in g++.dg/eh failing. Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: EH Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22614