From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 590873858D20; Fri, 20 Jan 2023 08:55:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 590873858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674204915; bh=lrulo9esH0CNxjjVay1ME8YUIYmU3DxhBumC9NeeNEA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=si5+kAARDQFSjuIUcGdQyzy6gQVVrG5p71x3OKOVGzVGgUHo+cd6keu1iUk7zP0xm 7BMEmO4ysyCoCJDdXV5aLtqCJcJFpPVQsuUGB8ZwRILwelLG2on2Pu5PdExJXZ5s0g lpCB8LHP1fVFpgK9YD3GJnNP+U7o5EQF47vmIs2o= From: "muecker at gwdg dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108423] [12/13 Regression] ICE in make_ssa_name_fn with VLA types in arguments and inlining since r12-5338-g4e6bf0b9dd5585df Date: Fri, 20 Jan 2023 08:55:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: muecker at gwdg dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 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=3D108423 --- Comment #4 from Martin Uecker --- The specific problem is triggered by the change to pointer_int_sum in gcc/c-family/c-common.cc, but the underlying problem is older. The following example fails since gcc 7: void f(int n, int (*a(void))[n]) { sizeof (*a()); } int (*a(void))[1]; void g(void) { f(1, a); } https://godbolt.org/z/645ahfrzx=