> On Tue, May 05, 2009 at 03:09:50PM -0400, John David Anglin wrote:
> > Probably, the cast should be to int.  __canonicalize_funcptr_for_compare
> > isn't used in the 64-bit runtime.
> > 
> > Still, I'm not sure why this fixed the problem as
> > __canonicalize_funcptr_for_compare checks for -1.
> > 
> 
> If we cast both sides to int, then we don't generate a call there...

That will certainly fix the problem but I'd really like to know
why we get a segv.  I suspect we are not handling a deferred function
pointer correctly.

Dave
-- 
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to