From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 36EFF385828E; Fri, 6 Oct 2023 16:53:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36EFF385828E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696611210; bh=UGD3ypOYoV+4xMGNC/v/yDBbPXvIvQhexZEZbDCsgfo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jp21jARDXUvI2lPnnR5u4qw6kXxTuTtWHmbY0YabwykkYgosbTYC4bcbShLHfG6R0 wmXfuxk4SxXUMzG0ccVRgA1qEs3W0FyCcLlzf9jzoKAUc9R7PrpcbDmMQFmwHWjuwT kPYUfY6dhTLPSnJkszOPdFYp/qzSUfpwq2M+wHRc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/111716] call site parameter not matching with formal parameter Date: Fri, 06 Oct 2023 16:53:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111716 --- Comment #4 from Andrew Pinski --- Short testcase: ``` struct f { int a[10]; int b[10]; int c; int d[10]; int e[10]; }; void g(int a[10], int b[10], int e, int i[10], int j[10]); void h(void *a1) { struct f *a =3D (struct f*)a1; g(a->a, a->b, a->c, a->d, a->e); } ```=