This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: g++ 3.1 EH broken for irix6.5
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: g++ 3.1 EH broken for irix6.5
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 29 Jun 2001 09:08:48 -0700
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- References: <10106291159.AA03843@vlsi1.ultra.nyu.edu>
On Fri, Jun 29, 2001 at 07:59:53AM -0400, Richard Kenner wrote:
> Hardly! *Very* few programs would notice a change in alignment of a
> struct or union. You have to go to extremes to construct a case where
> it will even be visible, much less matter.
Not at all. All you have to do is pass a pointer to such
a struct to a function in a different translation unit,
compiled with a different compiler.
If the first object file puts the struct on the stack at
the wrong alignment, then the second object file may SIGBUS.
r~