This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2009 21:32:01 -0000
- Subject: [Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk
- References: <bug-38732-11764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from schwab at suse dot de 2009-01-05 21:31 -------
>From the ABI document (2.2.1 C++ Exception Objects):
By convention, a __cxa_exception pointer points at the C++ object representing
the exception being thrown, immediately following the header. The header
structure is accessed at a negative offset from the __cxa_exception pointer.
This layout allows consistent treatment of exception objects from different
languages (or different implementations of the same language), and allows
future extensions of the header structure while maintaining binary
compatibility.
Thus there should be no ABI breakage, unless there is an alignment issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38732