3.0 mips-sgi-irix6.5: Exception Handling Broken Recently
Richard Henderson
rth@redhat.com
Mon May 21 17:56:00 GMT 2001
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~
More information about the Gcc-bugs
mailing list