From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A39123858C66; Thu, 12 Jan 2023 18:32:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A39123858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673548345; bh=n3dNzgBua7Yd9DjOY1fKl2Qm/JkAVWN2NFsQx0uuIdE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dX3QnShYTS2yiJjGl7PvaS52JLxawirt7gClpjO5m3HM3Mw/6/TcuS2DVHb2xLF+6 /UJtnv9hQ1o8q1exkkqwDslShYMy8JxkagV7BruHBvmlhC0RMFVcaeIMEQjktdU9qU f5nwbEo+Y0MAF5MAYFvoC/EHTIYtHwbyuda+n9Z4= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvMTA4Mzg0XSBlcnJvcjogY29udmVyc2lvbiBvZiBy?= =?UTF-8?B?ZWdpc3RlciB0byBhIGRpZmZlcmVudCBzaXplIGluIOKAmHZpZXdfY29udmVy?= =?UTF-8?B?dF9leHBy4oCZ?= Date: Thu, 12 Jan 2023 18:32:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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=3D108384 --- Comment #8 from David Binderman --- (In reply to David Binderman from comment #4) > I suspect a grep pattern could help guide the reduction. > I tried a few patterns, but didn't make any real progress. Using this pattern: $ grep "func_23[^,]*,[^)]*)" bug873.c I got the following reduced code: struct S0 { int f0; short f1; unsigned f2 : 7; short f3 } func_2_l_27; g_389; func_23(struct S0 p_24, struct S0 p_25) { int *l_1051 =3D g_389; if (safe_sub_func_int16_t_s_s()) for (;;) safe_lshift_func_uint8_t_u_s(p_24.f1); *l_1051 =3D p_25.f0; } func_2() { struct S0 l_26[] =3D {4, 5, 4, 6, 4, 5, 4, 6}; func_23(l_26[1], func_2_l_27); } $ fgrep func_23 bug873.c func_23(struct S0 p_24, struct S0 p_25) { func_23(l_26[1], func_2_l_27); $=