From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27495 invoked by alias); 2 Sep 2016 21:04:00 -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 27482 invoked by uid 89); 2 Sep 2016 21:03:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:427, 201609 X-HELO: mail-pf0-f175.google.com Received: from mail-pf0-f175.google.com (HELO mail-pf0-f175.google.com) (209.85.192.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Sep 2016 21:03:56 +0000 Received: by mail-pf0-f175.google.com with SMTP id p64so45745696pfb.1 for ; Fri, 02 Sep 2016 14:03:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=b7guRxx+b/icID6HFVUlKsg2pYOhCvmAeUchTAUTllc=; b=QeviPHyIxPMCZ1dxueuxg2jka1vHYKGHCpf/ZmdtHAzr8W/fxo2RnsXqEzSeviGeKV Il2lRXC8G5tvQbVcZa6XZZJ0C3InUbK7CQx9TKlr9rKr2UCvY7nbq99tog7ntrG5dv/G xqk5NLDDeHiy6R5Riunf0uMPH1iVRqOdme38Vf0q8gXSh3tc5P07y/gUEwFUT1qQSdO3 hSxZiSfWvbDE1n+LDx56ywwP/Qo+wOIuIt/VJ1P8elFI5ugfAg74luYLEBrCNeNb9X3q G9KcYwLtHojmUAG3URcq3yCl0TcY/qcH81gAWH94kpiW0p6t/JLjIrCGoq4jJV/1yKP+ 8rkw== X-Gm-Message-State: AE9vXwMMy0+S67u92Zqk2Betg6PW+ww4+1YPej8sxeqU+EAoWV7KU80ZEcfz7bQujNtRgw== X-Received: by 10.98.81.1 with SMTP id f1mr39705059pfb.35.1472850234452; Fri, 02 Sep 2016 14:03:54 -0700 (PDT) Received: from [192.168.0.238] (95-26-220-202.broadband.corbina.ru. [95.26.220.202]) by smtp.gmail.com with ESMTPSA id s12sm16825121pfj.73.2016.09.02.14.03.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Sep 2016 14:03:53 -0700 (PDT) Subject: Re: [PATCH, IPA] Check pointer for 0 before use in `get_odr_type` To: Jakub Jelinek References: <394ceee5-dfc2-f9a7-c534-7a09f222c2ab@gmail.com> <20160902205648.GN14857@tucnak.redhat.com> Cc: gcc-patches@gcc.gnu.org, hubicka@ucw.cz From: Kirill Yukhin Message-ID: <470636c0-bfc1-0ea3-1f9e-9c817dcb4d92@gmail.com> Date: Fri, 02 Sep 2016 21:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160902205648.GN14857@tucnak.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00132.txt.bz2 On 02.09.2016 23:56, Jakub Jelinek wrote: > On Fri, Sep 02, 2016 at 11:53:01PM +0300, Kirill Yukhin wrote: >> gcc/ >> * gcc/ipa-devirt.c (get_odr_type): Check odr_types_ptr for >> zero before dereferencing it. > > I've already tested/posted > http://gcc.gnu.org/ml/gcc-patches/2016-09/msg00089.html > for this. Okay, disregard then. -- Thanks, K > > Jakub >