From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 53EDB2EFCB for ; Tue, 9 Jan 2001 13:20:35 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f09IKZj20439 for axp-list@listman.redhat.com; Tue, 9 Jan 2001 13:20:35 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f09IKYD20435 for ; Tue, 9 Jan 2001 13:20:34 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id LAA03098 for axp-list@redhat.com; Tue, 9 Jan 2001 11:20:31 -0700 Date: Tue, 9 Jan 2001 11:20:31 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: ccc error [OT] Message-ID: <20010109112031.G2894@ellpspace.math.ualberta.ca> References: <000f01c07a43$3f7b0c00$8cf8fea9@hptilap.hpti.com> <3A5B4184.37986642@appnet.com> <20010109120511.N19919@taarna.sector7.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <20010109120511.N19919@taarna.sector7.com>; from Chris Eleveld (Sector 7 Group) on Tue, Jan 09, 2001 at 12:05:11PM -0600 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Tue, Jan 09, 2001 at 12:05:11PM -0600, Chris Eleveld (Sector 7 Group) wrote: ... > When we upgraded to the latest AIX compilers > we saw the same error in much of our code. .... > > int > main(int argc, char **argv) > { > int i; > char *c; > > /* follow is in error */ > (int *)c = &i; And you should be glad that it is. Writing such nasties is one of reasons for all this "unaligned access" crap, with associated performance hits, which you see later on Alpha. Michal