This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ARM: Invalid Stack Alignment BUG
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: ARM: Invalid Stack Alignment BUG
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 15 Mar 2000 01:11:45 +0100
- CC: Jeffrey A Law <law at cygnus dot com>, rth at cygnus dot com, rearnsha at arm dot com, Craig Newell <CraigN at cheque dot uq dot edu dot au>, gcc-patches at gcc dot gnu dot org, hubicka at freesoft dot cz
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200003131602.QAA16283@cam-mail2.cambridge.arm.com> <7188.953049162@upchuck> <20000314225524.A6047@atrey.karlin.mff.cuni.cz>
Jan Hubicka wrote:
> > > Jan, why does cfun->stack_alignment_needed not have a minimum value of
> > > STACK_BOUNDARY?
> This is mistake. At time I was designing stack_alignment_needed I was thinking
> exclusivly abou the needs of frame allocation on i386 and didn't checked
> this at later while modifying reload. Sorry.
> This was exactly situation we (Richard and I) wanted to avoid.
Well, whatever, but I had to comment out the following in
.../config/i386/i386.c, close to line 1788:
/*
if (!size && stack_alignment_needed)
abort ();
*/
to get it to bootstrap on my i686-pc-linux-gnu system (without it, the
bootstrap dies while compiling negdi2 with the stage 1 compiler).
Hope this helps,
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html