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]

Re: 3.0 mips-sgi-irix6.5: Exception Handling Broken Recently


On Mon, May 21, 2001 at 05:51:35PM -0700, Jeffrey Oldham wrote:
> In gcc/unwind-dw2.c,
>   _Unwind_SetGR()'s third parameter is a _Unwind_Word.
> In libstdc++-v3/libsupc++/eh_personality.cc:394:
>   its third argument is a _Unwind_Ptr.
> 
> How does the code guarantee correct alignment ...

Huh?  It's an integer passed by value, not by reference.  There's no
alignment to worry about.  Besides, the thing _is_ prototyped.  If
sizeof _Unwind_Ptr < sizeof _Unwind_Word, then the code generated
for the call should extend the value as appropriate.


r~


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