From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23150 invoked by alias); 22 Sep 2010 17:24:43 -0000 Received: (qmail 22956 invoked by uid 48); 22 Sep 2010 17:24:29 -0000 Date: Wed, 22 Sep 2010 17:24:00 -0000 Message-ID: <20100922172429.22955.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/45234] [4.4/4.5/4.6 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg02497.txt.bz2 ------- Comment #22 from jakub at gcc dot gnu dot org 2010-09-22 17:24 ------- The 4.5/4.4 backports of this patch break: /* { dg-do compile } */ /* { dg-options "-march=i586" { target ilp32 } } */ struct S { union { double b[4]; } a[18]; } s, a[5]; void foo (struct S); struct S bar (struct S, struct S *, struct S); void foo (struct S arg) { } void baz (void) { foo (bar (s, &a[1], a[2])); } (distilled from struct-layout-1.exp tests, many of them fail). Please either fix soon, or revert the patch. I'd like to roll 4.4.5 RC1 soon, but with this kind of regression it is not possible. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Priority|P2 |P1 Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45234