From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 93D26384AB57; Tue, 23 Apr 2024 02:10:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93D26384AB57 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713838225; bh=c5WMklwxaSiqWf8uqjm9jjE55ZYUSyQMPlDO+smSoTs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DDlWvvJV/be0+6yWEhMEkJKEgJl3/U/v6YZl5JzyvQhCXIYRN/PnWx3Y6eYDuaf9j Pll9DsjDF806kkdVwbyO5NFk1m/Ii9O+y8jwbFyNN+px27d5nT1OEoIiWQvnPtm9J6 hVZ2c1971MjVgPYx0uQElpyFQq1Co1TG7WWLrvOk= From: "iamanonymous.cs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/114778] ICE: in get_region_for_local, at analyzer/region.cc:1366 Date: Tue, 23 Apr 2024 02:10:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iamanonymous.cs at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm 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=3D114778 --- Comment #3 from Anonymous --- (In reply to David Malcolm from comment #1) > Thanks for filing this. >=20 > It's failing this assertion in frame_region::get_region_for_local : >=20 > 1421 case VAR_DECL: > 1422 gcc_assert (!is_global_var (expr)); > 1423 /* Fall through. */ > 1424 case PARM_DECL: > 1425 case RESULT_DECL: > 1426 gcc_assert (DECL_CONTEXT (expr) =3D=3D m_fun.decl); > 1427 break; >=20 > (gdb) pt expr > type size > unit-size > align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type > 0x7fffea664000 precision:64 min max > > > used unsigned ignored DI ../../src/pr114778.c:6:5 size 0x7fffea644f48 64> unit-size > align:64 warn_if_not_align:0 context > >=20 > (gdb) p m_fun.decl > $1 =3D >=20 > Looks like another ICE due to GCC's nested functions extension for C, whi= ch > the analyzer doesn't yet support. Thank you for your answer to this issue!=