Comparing function pointers
Jim Wilson
wilson@tuliptree.org
Mon Jun 16 18:32:00 GMT 2003
Bruno Haible wrote:
> In gccsummit2003-proceedings.pdf p. 116 Andreas Jaeger writes that on IA-64
> the result of comparing function pointers is unspecified.
This is mistaken. The IA-64 ABI requires that there must be only one
function descriptor for a function, and thus comparing function pointers
works even though they point at descriptors instead of functions. This
was pointed out at the conference. Andreas was unfamiliar with this
part of the IA-64 ABI.
Jim
More information about the Gcc
mailing list