From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 60ABB3858D3C; Tue, 23 Jan 2024 02:28:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60ABB3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705976912; bh=VozL53zEkLTdjoWCb2RHG6f4udMExXEW/uVFEkDvqbU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=naess+VSmOXZFBFzD8Y7Mjl0OUkAhi29AWdj4+J2yqKqBdmnRCroNP5vmsS4ZTCQQ 9J+KefnoXDLAgYKek73oQCXqOXjaklyRflumr751t/fnA5QWLcXz4dG4XLmDyGuAqX S3dlxPauUg/gITHna1Qyek1mqcgnAVCdxwUMeXG0= From: "yshuiv7 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/113551] Miscompilation with -O1 -funswitch-loops -fno-strict-overflow Date: Tue, 23 Jan 2024 02:28:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yshuiv7 at gmail 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=3D113551 --- Comment #1 from Yuxuan Shui --- code is reduced from perf, source file util/dsos.c=