From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65739 invoked by alias); 12 Dec 2015 21:09:55 -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 65730 invoked by uid 89); 12 Dec 2015 21:09:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 12 Dec 2015 21:09:54 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 1AA503001038; Sat, 12 Dec 2015 22:09:51 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SUv2ZubWMS_a; Sat, 12 Dec 2015 22:09:51 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 888FE3001037; Sat, 12 Dec 2015 22:09:50 +0100 (CET) From: Eric Botcazou To: Paolo Bonzini Cc: gcc-patches@gcc.gnu.org, joseph@codesourcery.com, jakub@redhat.com, mpolacek@redhat.com, law@redhat.com Subject: Re: [PATCH v2] Do not sanitize left shifts for -fwrapv (PR68418) Date: Sat, 12 Dec 2015 21:09:00 -0000 Message-ID: <2678124.XjxFg98R0t@polaris> User-Agent: KMail/4.14.9 (Linux/3.16.7-29-desktop; KDE/4.14.9; x86_64; ; ) In-Reply-To: <1449680920-64273-1-git-send-email-pbonzini@redhat.com> References: <1449680920-64273-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2015-12/txt/msg01338.txt.bz2 > gcc: > PR sanitizer/68418 > * c-family/c-ubsan.c (ubsan_instrument_shift): Disable > sanitization of left shifts for wrapping signed types as well. That's incorrect, it should be put into c-family/ChangeLog without prefix. -- Eric Botcazou