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


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