public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/68018] [6 Regression] ICE: in ix86_compute_frame_layout, at config/i386/i386.c:11308 with -mstackrealign
Date: Mon, 19 Oct 2015 20:54:00 -0000	[thread overview]
Message-ID: <bug-68018-4-rCeLggdlPP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-68018-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68018

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Some parts of gcc still assume that MS_ABI stack is always aligned to 128bits.

Proposed patch:

--cut here--
@@ -11283,7 +11296,8 @@ ix86_compute_frame_layout (struct ix86_frame *fram
      function prologues and leaf.  */
   if ((TARGET_64BIT_MS_ABI && crtl->preferred_stack_boundary < 128)
       && (!crtl->is_leaf || cfun->calls_alloca != 0
-          || ix86_current_function_calls_tls_descriptor))
+         || ix86_current_function_calls_tls_descriptor
+         || ix86_incoming_stack_boundary < 128))
     {
       crtl->preferred_stack_boundary = 128;
       crtl->stack_alignment_needed = 128;
--cut here--
>From gcc-bugs-return-499973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 19 21:09:57 2015
Return-Path: <gcc-bugs-return-499973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4086 invoked by alias); 19 Oct 2015 21:09:57 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 4047 invoked by uid 55); 19 Oct 2015 21:09:53 -0000
From: "kargl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68019] ICE on rank mismatch of implied-shape array of user-defined type
Date: Mon, 19 Oct 2015 21:09:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kargl at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: kargl at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-68019-4-0h8ck1W03y@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-68019-4@http.gcc.gnu.org/bugzilla/>
References: <bug-68019-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-10/txt/msg01528.txt.bz2
Content-length: 701

https://gcc.gnu.org/bugzilla/show_bug.cgi?idh019

--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Oct 19 21:09:21 2015
New Revision: 229003

URL: https://gcc.gnu.org/viewcvs?rev"9003&root=gcc&view=rev
Log:
2015-10-19  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/68019
        * decl.c (add_init_expr_to_sym): Remove an assert() to allow an error
        message to be issued.

2015-10-19  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/68019
        * gfortran.dg/pr68019.f90: new test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr68019.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog


  reply	other threads:[~2015-10-19 20:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 17:28 [Bug target/68018] New: " zsojka at seznam dot cz
2015-10-19 20:54 ` ubizjak at gmail dot com [this message]
2015-10-20  5:05 ` [Bug target/68018] " zsojka at seznam dot cz
2015-10-20  8:10 ` rguenth at gcc dot gnu.org
2015-10-20  8:22 ` ubizjak at gmail dot com
2015-10-21  8:44 ` uros at gcc dot gnu.org
2015-10-21 19:37 ` zsojka at seznam dot cz
2015-10-22  6:52 ` uros at gcc dot gnu.org
2015-10-22  7:55 ` ubizjak at gmail dot com

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=bug-68018-4-rCeLggdlPP@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).