This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/23278] SJLJ-exceptions broken
- From: "jacob dot navia at ants dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Aug 2005 20:30:44 -0000
- Subject: [Bug libstdc++/23278] SJLJ-exceptions broken
- References: <20050807195054.23278.jacob.navia@ants.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jacob dot navia at ants dot com 2005-08-07 20:30 -------
>>Why do the program requires SJLJ exceptions? That does not make sense.
Yes it does.
The problem is that we are generating dynamically code
using an embedded compiler. Our stack looks like this:
C++ stack
dynamically generated code
C++ stack
dynamically generated code
C++ stack <--- makes a throw
If we would use table-driven (dwarf2) exceptions, the program would crash
since there are no dwarf tables for our dynamically generated code!
We HAVE to use sjlj exceptions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23278