[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libstdc++/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk




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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: