------- Comment #17 from sebastian dot redl at getdesigned dot at  2009-01-07 
21:14 -------
I have no idea how a prepended member can change the negative offset of the
other struct members. If I did, the bug wouldn't be there.

Is wrapping the struct in another struct the best way to ensure that the layout
stays the same? If so, the patch looks good to me.

The OOo.org guys should perhaps add a note for future reference, that if they
ever use std::current_exception(), they *will* have to change the code to cope
with dependent exceptions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38732

Reply via email to