From patchwork Fri Feb 5 14:43:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Enkovich X-Patchwork-Id: 579502 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 19563140CEE for ; Sat, 6 Feb 2016 01:44:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=V26SF0mq; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=DSSIGJBa+3Lm502ib3Ldl5d4W95jVGImXPRFhqjaVJWTn+QW5Ad2X ddiKXIqN3hkq7L+BZg526NDcWQs/r2P5GmTPydpIHEb9ybUjKuLQ6BRe/L84JMyi 2CaiI6v+MgXSZ567uoEuvqTE9KO3sIzCCu4imJr4U+AvlxXt+DP56k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=aXdMsddBj8KnrUNGOv2IR3CEc5A=; b=V26SF0mqWMFf7M1PcrQu ZQPTK+BqN4/uLO4hG2V1ZRZ2baIJMd6QjqIrMcuYQA29FKX6ArFd80GnpPSIur/3 5BP6/vm5sEgUuLhtWZ3dw1fF8uiK5RhiFW3eNCJ6Qg1WSiZgxuytZWFVTZtpyIlu QGZaPvxhmjLIC0pSRSnewvE= Received: (qmail 71255 invoked by alias); 5 Feb 2016 14:44:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 71244 invoked by uid 89); 5 Feb 2016 14:44:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=sk:transpa, 2016-02-05 X-HELO: mail-wm0-f45.google.com Received: from mail-wm0-f45.google.com (HELO mail-wm0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 05 Feb 2016 14:44:16 +0000 Received: by mail-wm0-f45.google.com with SMTP id g62so30284151wme.0 for ; Fri, 05 Feb 2016 06:44:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=FJl9yu7V8eSIdmbv9PmQd77L+UyvFVs/b5F8nQfstJc=; b=QZ5/xUvtVe33e6tgo1eFrvYSVKHE/+nEuskaLnNqf6FSOIdIRPC3wvLU8EcNIEte+S ekyCZT3XU09x9wQQsWOvDxLUgE/VjMVia/7Jxutols+yljmHypXzWk7dz1WHT8zCpAXu pbi61tbuj+Q2fuyb7gOFVKwAgLFhSLVYAlWvy926hl6sPuGpkNH+k/0AP81841grARHj 8ZZsQT2XmLpLAMm/XQu4BYPOUnwuqQPHqbei/nDqjwnZ+3LgI0rjKTSdoji03uqZRMSw cNU9/fJEnhhblw2HwzZBk1LLfqHv024Ly0z/LirizxJDOaxxo5np/dZ8Nqk7FGjvN6Ls ADug== X-Gm-Message-State: AG10YOQz81J9I+raFgyrwx+eJuauFu98nVVyOrXPsDf8/ACuWvgKlta95rt64WAFhlB1Kw== X-Received: by 10.194.202.135 with SMTP id ki7mr16297478wjc.81.1454683453301; Fri, 05 Feb 2016 06:44:13 -0800 (PST) Received: from msticlxl57.ims.intel.com (irdmzpr02-ext.ir.intel.com. [192.198.151.37]) by smtp.gmail.com with ESMTPSA id ei9sm16216508wjd.40.2016.02.05.06.44.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2016 06:44:12 -0800 (PST) Date: Fri, 5 Feb 2016 17:43:18 +0300 From: Ilya Enkovich To: gcc-patches@gcc.gnu.org Subject: [PATCH, committed] Revert r232560 to fix PR target/69369 Message-ID: <20160205144318.GA21593@msticlxl57.ims.intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes Hi, This patch reverts r232560 which caused multiple failures for Pointer Bounds Checker. Patch was bootstrapped and regtested on x86_64-pc-linux-gnu. Applied to trunk. Thanks, Ilya --- 2016-02-05 Ilya Enkovich PR target/69369 Revert r232560: 2016-01-19 Jan Hubicka * cgraphunit.c (cgraph_node::reset): Clear thunk info and instrumented_version. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index b95c172..2c49d7b 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -366,14 +366,12 @@ cgraph_node::reset (void) memset (&local, 0, sizeof (local)); memset (&global, 0, sizeof (global)); memset (&rtl, 0, sizeof (rtl)); - memset (&thunk, 0, sizeof (cgraph_thunk_info)); analyzed = false; definition = false; alias = false; transparent_alias = false; weakref = false; cpp_implicit_alias = false; - instrumented_version = NULL; remove_callees (); remove_all_references ();