This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: why this testcase compile failed for gcc.
zhang qingshan <steven.zhang54373@gmail.com> writes:
> IMO, function pointer is a pointer which its type descriptor is a
> function type ...
>
> Any difference with the normal pointer?
The C standard does not require that a function pointer use the same
representation as any other type of pointer. In particular, on
processors with Harvard architectures, function pointers and regular
pointers are inherently different.
Ian