🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6403

Re: gcc-2.7.1: memcpy() problems persists

#6403
From: Erkki Ruohtula
Date: Fri, 24 Nov 1995 00:00
12 lines
1051 bytes
It has been pointed to me via mail that my analysis of the memcpy 'bug'
missed the real point: That converting a pointer with loose alignment
requirements to a pointer with stricter alignment requirements is permitted
to cause undefined behaviour (even if the "stricter" pointer is not
dereferenced, or is dereferenced only after conversion back into a
"looser" pointer). I will withdraw my complaint. Thanks to everyone who
bothered to educate me on the subject.

--
Erkki Ruohtula     / Nokia Telecommunications Oy
eru@tele.nokia.fi / P.O. Box 33 FIN-02601 Espoo, Finland
(My private opinions, of course)
Technical Details
Message-ID: <199511241514.RAA04350@tnso04.tele.nokia.fi>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,ffb1e88010d14e37
X-Google-Attributes: gid113d02,public
From: eru@tnso04.tele.nokia.fi (Erkki Ruohtula)
Subject: Re: gcc-2.7.1: memcpy() problems persists
Date: 1995/11/24
Message-ID: <199511241514.RAA04350@tnso04.tele.nokia.fi>
X-Deja-AN: 120031674
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug