https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61664
Bug ID: 61664 Summary: Microblaze exception handling fails Product: gcc Version: 4.6.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: mconner at gnf dot org When an exception is thrown the program aborts as if there were no catch. The problem appears to occur regardless of the type of exception thrown or caught. The following simple example demonstrates the problem: int main (void) { try { throw 42; } catch (...) { while (1); // this code is never reached } return 0; // this code is never reached } When this program is executed in the Xilinx SDK (14.6 2013.2 Build EDK_P 25 Mar 2013) debugger, the program aborts. Call stack after abort is: 3 _exit() crt0.S:108 0x48000030 2 kill() kill.c:26 0x480179e0 1 _kill_r() 0x48010760 This problem is completely reproducible.