This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/23278] SJLJ-exceptions broken


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]