On Tue, Aug 30, 2005 at 12:34:01AM -0700, Steve Langasek wrote:
> When passing pointers to 4-byte types to memcpy(), gcc-4.0 generates
> wrong code which assumes that these pointers are aligned at 4-byte
> boundaries for purposes of optimization, ignoring the implicit cast to
> (char *) in the prototype of memcpy().

There is no implicit cast to char *. memcpy gets two void pointers.

Bastian

-- 
The joys of love made her human and the agonies of love destroyed her.
                -- Spock, "Requiem for Methuselah", stardate 5842.8

Attachment: signature.asc
Description: Digital signature

Reply via email to