From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C4933858423; Wed, 15 Feb 2023 19:04:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C4933858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676487884; bh=lqSQywY1M65uQ+dV+Bv9JHq+HNZPc8WH+cpIZ5KBMV0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rYBj+dGMZrOFbhU/tZA+/BWHqf6LUGeN+LaY6+vuTkv+ksRrn9ZQDmj2tpcaSUUnu KdrKb/UnSfedHRS+1O8Ur0KgdQMxvV5KDYLiQqA1YO+PWDt8fPO0GgEyMiPVhJhm1M drLH5u5waK+bNuY8DUachBX5iTIXBAQDKQzsie+w= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/108657] [13 Regression] csmith: possible wrong checksum with -O3 and -ftrivial-auto-var-init=zero Date: Wed, 15 Feb 2023 19:04:43 +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: 13.0 X-Bugzilla-Keywords: needs-reduction, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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: 13.0 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=3D108657 --- Comment #20 from Jakub Jelinek --- Looking at the r13-1778 change, perhaps it wasn't intended that it changed behavior for all internal functions that return non-SSA_NAME result. --- gcc/tree-ssa-dse.cc.jj 2023-01-11 10:29:08.651161134 +0100 +++ gcc/tree-ssa-dse.cc 2023-02-15 20:03:33.647684713 +0100 @@ -177,7 +177,7 @@ initialize_ao_ref_for_dse (gimple *stmt, default:; } } - else if (tree lhs =3D gimple_get_lhs (stmt)) + if (tree lhs =3D gimple_get_lhs (stmt)) { if (TREE_CODE (lhs) !=3D SSA_NAME) { fixes this.=