From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3B1C3858C2F; Thu, 8 Jun 2023 22:10:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3B1C3858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686262208; bh=hgvaSQVMTM9HraI40YcwBcAalDPCEIm+3fq8wDtSPUo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YMTdzKXG3v7DUJHKRwglx3SHEs6QeNi5swxFyojRdQQS07blq/TqOOqrNTW6CIhDa QlvTwF039VmcFaezKAYInL/SBA3SmWqiJPhj4mCQw/51Lqwk+WFISegW0ZJzaORMML oK1Fza9OJLZncPh++/OH5Jr1mHUycHj6Ci1X7IuI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110176] [10/11/12/13/14 Regression] wrong code at -Os and above on x86_64-linux-gnu Date: Thu, 08 Jun 2023 22:10:08 +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: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 10.5 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=3D110176 --- Comment #4 from Andrew Pinski --- 10.4.0: Value numbering stmt =3D _8 =3D _7 <=3D i_19; Applying pattern match.pd:4279, gimple-match.c:13484 Match-and-simplified _7 <=3D i_19 to 1 RHS _7 <=3D i_19 simplified to 1 Setting value number of _8 to 1 GCC 10.3.0: Value numbering stmt =3D _8 =3D _7 <=3D i_19; Applying pattern match.pd:4274, gimple-match.c:7895 Match-and-simplified _7 <=3D i_19 to 1 RHS _7 <=3D i_19 simplified to 1 Not changing value number of _8 from VARYING to 1 Maybe r10-9757-gec97d2e842022a3f112e27d6d8=