From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E0DB3858C66; Tue, 9 Jan 2024 06:27:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E0DB3858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704781654; bh=2AJNzOz6c3lWTbs4OZwueNmE3wMfibt8qpwiO9Fp1kk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hkJEsdgQLaCCwae9wIbwSharWiKXARTb3NHYoPZKPqHsNzCXH7XEY/dYVXhlfoK/J bYMqClnFnZtVzqfgwkkg/vwuucxv6Hkq0TRx5Htfs1MxXHq2SL5nK1OC9/WEodpo3E AGIWBUCkpuYklzFeFON1H1K1M8y6P+bQb5KwqbPc= From: "652023330028 at smail dot nju.edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113271] [Regression] Wrong code at -O1/2/3 since GCC-9 (could be due to wrong optimization) Date: Tue, 09 Jan 2024 06:27:34 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 652023330028 at smail dot nju.edu.cn X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D113271 --- Comment #3 from Yi <652023330028 at smail dot nju.edu.cn> --- (In reply to Xi Ruoyao from comment #2) > -fsanitize=3Dundefined is even explicitly mentioned in the bug report > guideline at https://gcc.gnu.org/bugs/. And the red banner in the new bug > page also mentions -fwrapv. I'm sorry about this issue. I knew what you mentioned. I seemed a little ou= t of my mind when I brought up the issue. (In reply to Jakub Jelinek from comment #1) > This is UB, as can be seen if you compile with -fsanitize=3Dundefined: I'm sorry again.=