From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D707385829F; Wed, 19 Oct 2022 09:29:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D707385829F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666171759; bh=91/WCaQQfemU+tR3OvzDXJr6oz881HtiNn1+A/onFFY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r433OhMS9JUpBzFej0Qvcv0BKh1C7d/I+9Dj3UJMvPpigt62UAQAufadguXdVcN76 v0IE3kPZDSypij8G6XSLbNxK/B1Uhjk3yFmuWrtcGbb9H522Nup4XHkExmneq2AYP9 3pAY3FZJskIL1kMkJvqrlimNs9dUb/7feqhsnHPU= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106990] Missing TYPE_OVERFLOW_SANITIZED checks in match.pd Date: Wed, 19 Oct 2022 09:29:18 +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: 13.0 X-Bugzilla-Keywords: easyhack 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: jakub 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=3D106990 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:07cc4c1da1046f0ffda241d59df796417c122ff5 commit r13-3373-g07cc4c1da1046f0ffda241d59df796417c122ff5 Author: Jakub Jelinek Date: Wed Oct 19 11:28:42 2022 +0200 match.pd: Add 2 TYPE_OVERFLOW_SANITIZED checks [PR106990] As requested in the PR, this adds 2 TYPE_OVERFLOW_SANITIZED checks and corresponding testcase. 2022-10-19 Jakub Jelinek PR tree-optimization/106990 * match.pd ((~X - ~Y) -> Y - X, -x & 1 -> x & 1): Guard with !TYPE_OVERFLOW_SANITIZED (type). * c-c++-common/ubsan/pr106990.c: New test.=