From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26965 invoked by alias); 2 Feb 2006 16:13:49 -0000 Received: (qmail 26956 invoked by uid 22791); 2 Feb 2006 16:13:48 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (129.34.20.6) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 02 Feb 2006 16:13:47 +0000 Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com [129.34.20.40]) by igw2.watson.ibm.com (8.12.11/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id k12GDgNG000946; Thu, 2 Feb 2006 11:13:46 -0500 Received: from sp1n294en1.watson.ibm.com (localhost [127.0.0.1]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id k12GDc5381274; Thu, 2 Feb 2006 11:13:38 -0500 Received: from mgsmtp00.watson.ibm.com (mgsmtp00.watson.ibm.com [9.2.40.58]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id k12GDbG383364; Thu, 2 Feb 2006 11:13:37 -0500 Received: from makai.watson.ibm.com (makai.watson.ibm.com [9.2.216.144]) by mgsmtp00.watson.ibm.com (8.12.11/8.12.11/2005/09/01) with ESMTP id k12HCfc2003458; Thu, 2 Feb 2006 12:12:41 -0500 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.1/8.11.6p2/8.11.0/03-06-2002) with ESMTP id k12GD8D25730; Thu, 2 Feb 2006 11:13:34 -0500 Message-Id: <200602021613.k12GD8D25730@makai.watson.ibm.com> To: Yaro Pollak cc: gcc-help@gcc.gnu.org Subject: Re: Unaligned access to packed structs on ppc405 In-Reply-To: Message from Yaro Pollak of "Mon, 30 Jan 2006 14:02:54 +0200." <43DE006E.2040803@altair-semi.com> References: <200601291716.k0THGPD31684@makai.watson.ibm.com> <43DE006E.2040803@altair-semi.com> Date: Thu, 02 Feb 2006 16:13:00 -0000 From: David Edelsohn Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00017.txt.bz2 >>>>> Yaro Pollak writes: Yaro> Yes, I actually couldn't tell whether I should use -mno-strict-align or Yaro> -mstrict-align from the explanation in GCC documentation (thank you for Yaro> your explanation) so I tried both, but it didn't matter at all. I guess Yaro> I should have mentioned that before. Perhaps any other ideas? I feel it Yaro> is something fundamental that I keep missing. Can you provide a small function and command-line option used to compile the function that demonstrates the problem? David