From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21084 invoked from network); 23 Jun 1999 15:51:18 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Jun 1999 15:51:18 -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 KAA04804 for ; Wed, 23 Jun 1999 10:56:21 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id IAA03278 for axp-list@redhat.com; Wed, 23 Jun 1999 08:56:18 -0600 From: Michal Jaegermann Message-Id: <199906231456.IAA03278@ellpspace.math.ualberta.ca> Subject: Re: problem with unaligned access on Alpha To: axp-list@redhat.com Date: Wed, 23 Jun 1999 08:56:17 -0600 (MDT) In-Reply-To: <41256799.00395D39.00@saturn.aladdin.de> from "Christian Groessler" at Jun 23, 99 11:23:33 am Content-Type: text Christian Groessler wrote: > > Hello Stefan, > > On 6/22/99 1:32:39 PM Stefan Katzenbeisser wrote: > > > >That's definitively a compiler bug. I solved the problem by upgrading > >to egcs 1.1.2 > > But it also happens with egcs-1.1.2 (on NetBSD, but I don't think this > makes a difference). Try to see if -fno-strict-aliasing compiler flag will make any difference. Likely it should. Legality aside peple who write such "nice" code should be run out of town. Unfortunately such way is quite popular; mostly because in most situations one can get away with it. Michal