From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107018 invoked by alias); 17 Nov 2017 00:27:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 107005 invoked by uid 89); 17 Nov 2017 00:27:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Nov 2017 00:27:16 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B9E59369C9; Fri, 17 Nov 2017 00:27:14 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-12.rdu2.redhat.com [10.10.112.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id A3509600D5; Fri, 17 Nov 2017 00:27:13 +0000 (UTC) Subject: Re: [PATCH] Fix UBSAN errors in dse.c (PR rtl-optimization/82044). To: =?UTF-8?Q?Martin_Li=c5=a1ka?= , Jakub Jelinek Cc: gcc-patches@gcc.gnu.org References: <20170920081519.GU1701@tucnak> <7cff6742-bd7a-5ea2-80fb-aca74610f591@suse.cz> <7e976ae2-4aab-9abd-1990-94b9804db8f9@redhat.com> <87d09716-916c-974f-9a4e-7fa95f6b97c3@suse.cz> From: Jeff Law Message-ID: <85ad0d9d-8db7-fa8e-befe-1fe56248f368@redhat.com> Date: Fri, 17 Nov 2017 00:57:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87d09716-916c-974f-9a4e-7fa95f6b97c3@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg01403.txt.bz2 On 11/15/2017 12:31 AM, Martin Liška wrote: > On 11/08/2017 05:31 PM, Jeff Law wrote: >> I don't see an updated patch in this thread? THe last message I see is >> this one where you indicate you're going to tweak the patch and re-test. >> >> Jeff > Yes, I tweaked and tested following patch. > > Martin > > > 0001-Fix-UBSAN-errors-in-dse.c-PR-rtl-optimization-82044.patch > > > From a369ac78b887e219a375e17d6817c1f744e71779 Mon Sep 17 00:00:00 2001 > From: marxin > Date: Thu, 19 Oct 2017 13:38:01 +0200 > Subject: [PATCH] Fix UBSAN errors in dse.c (PR rtl-optimization/82044). > > gcc/ChangeLog: > > 2017-10-19 Martin Liska > > PR rtl-optimization/82044 > PR tree-optimization/82042 > * dse.c (check_mem_read_rtx): Check for overflow. OK. jeff