From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C74213858D39; Wed, 8 Feb 2023 17:52:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C74213858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675878724; bh=ctd6+mvWRJQ/1ur9aFAdlzXIe4uhO6HCkorOxTM8UL4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jr7AZ4ktBwa4gdxRxVNqX53psXPhVHRT3M4k6Jdi5zYWNdMBpMq6ofzX2tI+YmQlA u1yH0iR4mRrae8AiO6xWnmG6n69cmxA5exBRKBCBXOpyACtF9qkoweiled5OcLyyF1 fuYIOV9Zv+ZI5Y6Ce3lDZ/wpMX5TXBeqcVRmw+iQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/108715] Infinite loop in the generated assembly with -Os when strlen is defined in the code Date: Wed, 08 Feb 2023 17:52:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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=3D108715 --- Comment #15 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #14) > It isn't really a dup, that other PR is about strlen pattern in some > function with a different name. PR 103858 was also marked as a dup much earlier. I think the original code in valgrind (which PR 102725 is about) used strle= n as the name of the function and the reporter change the name just to show what= was happening ...=