Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: tprince@computer.org
Cc: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>,
   <java@gcc.gnu.org>, <cygwin@cygwin.com>
Subject: Re: Object alignment, was: cygwin failures - assertion "!(addr & FLAGS)" failed:
References: <FAC87D7C874EAB46A847604DA4FD5A6403470E@crtsmail.corp.riotinto.org> <20020506001833.617B12CA87@inet1.ywave.com>
From: Tom Tromey <tromey@redhat.com>
Reply-To: tromey@redhat.com
X-Attribution:  Tom
X-Zippy:  HOORAY, Ronald!!  Now YOU can marry LINDA RONSTADT too!!
Date: 05 May 2002 22:49:56 -0600
In-Reply-To: Tim Prince's message of "Sun, 5 May 2002 17:18:34 -0700"
Message-ID: <876621ev7v.fsf@creche.redhat.com>
Lines: 15

>>>>> "Tim" == Tim Prince <tprince@computer.org> writes:

Tim> The binutils alignment parameter in coff-i386.c is set to 4-byte
Tim> alignment.  4-byte alignment also is the default for gcc -Os, at
Tim> least from gcc-3.1.  Cases have been produced where gcc-3.1
Tim> failed to give 16-byte alignment even with -O2, unless
Tim> -mpreferred-stack-boundary=4 was specified.

Are you talking about only the alignment of the stack?  I don't think
that should matter to libgcj.  There used to be one place where we
stack-allocated an object, but I believe that now there aren't any.
All that matters to us is the alignment of statically allocated
object, and objects created by the GC.

Tom

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

