------- Comment #6 from rguenth at gcc dot gnu dot org  2010-07-28 14:01 -------
(In reply to comment #4)
> Subject: Re:  casting of variadic function pointers to normal
>  function pointers causes segfaults on 64bit systems
> 
> I was afraid of this answer.
> However in my application, I have no clue which type of function pointer
> is transferred. Thus, I should always cast to the variadic function
> pointer in order to define the %al register?
> 
> Cheers, Robert

That doesn't work either.  You have to pass around some cookie that
tells you the function prototype and cast to the appropriate one.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45106

Reply via email to