Bad code for ia64 with function pointer

David Edelsohn dje@watson.ibm.com
Fri Aug 9 09:31:00 GMT 2002


>>>>> Henri-Pierre CHARLES writes:

H-P> So, it's impossible to do this kind of indirect call with C ?

	An IA-64 function pointer is just a special multi-word object.
One can create that multi-word object in C and then use that object as a
pointer.  This means that data pointers and function pointers are not
interchangeable.  As Jim says, the real question is *why* you want to do
this, not how to do this.

David



More information about the Gcc-bugs mailing list