C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT

Joern Rennecke amylaar@cambridge.redhat.com
Fri Apr 6 06:02:00 GMT 2001


> are there really architectures where there is no penalty for having
> odd-aligned function addresses? Hard to believe! Of course there are
> architectures where there is no *hard requirement* for alignment, but
> one would almost certainly expect a performance penalty. On the x86
> for example, it is quite important to give decent alignment to jump
> targets from an efficiency point of view.

AFAIK there are also architectures where word size, unit size and function
boundary are all the same.



More information about the Gcc mailing list