From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3B3B23858034; Thu, 13 Oct 2022 07:42:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B3B23858034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665646977; bh=BmOXSoTGzQgrUgkmxJfNgK9lL2knCNX8Rd2B+Lq54Bg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=M25efkljRxQPzJb6oxQeLGQSYNWlQ8wP0m6pIzDqhHbjTEJ/Tx+2yTz/n06RZeA0K 5fTTm8ZCNBEV5mLpYQSq59FXJRFYXi82inGsdb/K2sFfWefh2kHd9t0uSoHpyaoFrs b5/Exex7HhZz/1BcOGfDsSYjK56ARO7VlIDmcF2U= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyB0cmVlLW9wdGltaXphdGlvbi8xMDcyNDRdIFsxMyBSZWdy?= =?UTF-8?B?ZXNzaW9uXSBlcnJvcjogaW52YWxpZCBwb3NpdGlvbiBvciBzaXplIGluIA==?= =?UTF-8?B?4oCYYml0X2luc2VydF9leHBy4oCZIHNpbmNlIHIxMy0zMjE5LWcyNTQxM2Zk?= =?UTF-8?B?YjJhYzI0OTMz?= Date: Thu, 13 Oct 2022 07:42:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D107244 --- Comment #3 from Martin Li=C5=A1ka --- Reduced test-case: $ cat pr107244.c typedef char xchar; struct monst { struct monst *nmon; short movement; char malign; xchar mx, my; unsigned : 7; unsigned : 7; unsigned : 11; unsigned mleashed : 1; } *level_0, *unleash_all_mtmp; void unleash_all() { for (; unleash_all_mtmp; unleash_all_mtmp =3D level_0) unleash_all_mtmp->mleashed =3D 0; }=