From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7576 invoked by alias); 22 Jul 2004 10:26:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 7555 invoked by uid 48); 22 Jul 2004 10:26:53 -0000 Date: Thu, 22 Jul 2004 10:26:00 -0000 Message-ID: <20040722102653.7554.qmail@sourceware.org> From: "jakub at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040722101856.16670.jakub@gcc.gnu.org> References: <20040722101856.16670.jakub@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/16670] struct { type:0; } passing bugs X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg02642.txt.bz2 List-Id: ------- Additional Comments From jakub at gcc dot gnu dot org 2004-07-22 10:26 ------- Argh, make the testcase for x86-64 instead: extern void abort (void); struct S { int:0; } a, b; void foo (int c, int d, int e, int f, int g, int h, struct S x, struct S *y) { if (y != &b) abort (); } int main (void) { foo (0, 1, 2, 3, 4, 5, a, &b); return 0; } (there was a collision between the dummy arg names and structure variables). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16670