public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Jan Hubicka <jh@suse.cz>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Allow preferred-stack-boundary of 3 for x86-64
Date: Fri, 27 Jul 2007 22:33:00 -0000	[thread overview]
Message-ID: <200707280007.54813.ak@suse.de> (raw)
In-Reply-To: <20070723230503.GA10270@kam.mff.cuni.cz>

On Tuesday 24 July 2007 01:05:03 Jan Hubicka wrote:
> Hi,
> Andi Kleen raised point that while x86-64 ABI requires 16byte alignment,
> kernel preffers to save stack psace by 8 byte alignment even though it
> breaks some of features (such as XMM support or variadic arguments of
> types aligned to 16 bytes, such as long double).
> 
> This patch thus makes GCC to tolerate this option and updates
> documentation accrodingly.  I will install it tomorrow if there are no
> complains. Bootstrapped/regtested i686-linux.

I tested the patch now and I get a ICE while compiling the x86_64 linux kernel 
with -mpreferred-stack-boundary=3  and 070727 SVN checkout + patch

/home/lsrc/quilt/linux/init/do_mounts.c: In function 'change_floppy':
/home/lsrc/quilt/linux/init/do_mounts.c:390: internal compiler error: in ix86_compute_frame_layout, at config/i386/i386.c:5745
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Test case is in  http://www.firstfloor.org/~andi/do_mounts.i
Compile with -mpreferred-stack-boundary=3 -Os

-Andi

  reply	other threads:[~2007-07-27 22:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  0:54 Jan Hubicka
2007-07-27 22:33 ` Andi Kleen [this message]
2007-07-31  5:03   ` Jan Hubicka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200707280007.54813.ak@suse.de \
    --to=ak@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jh@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).