From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 45D153857714; Fri, 16 Jun 2023 11:46:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 45D153857714 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686915991; bh=sqkl9MmXmthrX5wRVd7Gq3WpdZshprOgUs9ILL8y9E8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MSlRTTX4qv+TlZxoYnvC9v9WA+UNaB2kUXc6RJD5iYb5rMfjP8NPVDKydkDy4b/34 dY0lLb8tpROKLIr1S/tlmnT6v0CI/WO0xVmfPoygUeS6n/uP/V8Z3l0SvEwuZiqhJR Mw5OCtM322h2dFKgr/Pe6+CgaewSqlgTi1MEROcM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110278] [14 Regression] FAIL: gcc.dg/tree-ssa/pr103257-1.c scan-tree-dump-times optimized "link_error" 0 from r14-1880-g827e208fa64771 Date: Fri, 16 Jun 2023 11:46:30 +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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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=3D110278 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:69b04fe7445c88edafd6983e28353a158e4314b5 commit r14-1883-g69b04fe7445c88edafd6983e28353a158e4314b5 Author: Richard Biener Date: Fri Jun 16 11:47:45 2023 +0200 tree-optimization/110278 - uns < (typeof uns)(uns !=3D 0) is always fal= se The following adds two patterns simplifying comparisons, uns < (typeof uns)(uns !=3D 0) is always false and x !=3D (typeof x)(x = =3D=3D 0) is always true. PR tree-optimization/110278 * match.pd (uns < (typeof uns)(uns !=3D 0) -> false): New. (x !=3D (typeof x)(x =3D=3D 0) -> true): Likewise.=