This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Bad code for ia64 with function pointer


>>>>> 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


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