From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6562 invoked from network); 8 Jul 1999 22:15:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Jul 1999 22:15:04 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA03694 for ; Tue, 29 Jun 1999 14:48:50 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id MAA16225 for axp-list@redhat.com; Tue, 29 Jun 1999 12:48:46 -0600 From: Michal Jaegermann Message-Id: <199906291848.MAA16225@ellpspace.math.ualberta.ca> Subject: Re: 2.2.11 To: axp-list@redhat.com Date: Tue, 29 Jun 1999 12:48:45 -0600 (MDT) In-Reply-To: <19990629094213.B11792@twiddle.net> from "Richard Henderson" at Jun 29, 99 09:42:13 am Content-Type: text Richard Henderson wrote: > > > > If you add -DBUG to compilation flags and use **any** level of > > optimization above -O0 then this printout will be > > > > original = 0x11ffffb60 > > 00 00 00 00 00 00 00 00 60 00 > > With -DBUG you were using memcpy, so aliasing rules don't apply. Exactly. Another workaround is to use 'put_unaligned' instead after casting target to accept all eight bytes. But this is somewhat platform and the situation specific. :-) > Anyway, it seems to have been fixed since then (gcc-2.95 19990621). Good to hear that. So I guess I would not bother with writing a formal bug report. Michal