* Richard Guenther <[EMAIL PROTECTED]> [060122 14:23]:
> [...] The correct solution for converting
> a float to an integer (bit-representation) as in the expample is to use
> two different memory locations and memcpy (which avoids aliasing
> issues by means of using the special rules for access through 'char').

But only in that example. In general memcpy might be optimized to some
assignment causing a SIGBUS if gcc thinks it is save but it is not.
(like a misaligned pointer to a struct where some member is accessed).

Hochachtungsvoll,
        Bernhard R. Link

Reply via email to