From patchwork Sat Oct 26 10:24:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 286274 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AA7292C019B for ; Sat, 26 Oct 2013 21:25:04 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=s3z++IwfPSgHDorHwkxVUtXyeNSaidACkC2GwGwgQsdnRZ GlbRf62c9sVZUCvchVdmtQ5kPHF8cym0UDysH9t824yW38ctFZVMP9IECTuol6z5 Ns71E78NVnvY2h8eBhvVNM0tb8ud+dvOykc08iDJttdh/RQMj9CYNDjTcSJgY= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=YPdgbpMhQTdwKka6JnfWG3P09j0=; b=noY9aed+sxz6SuattB+x 5ciQguAi/xeSOSnvVj6Nl1077jLHnBBnKLy69BJ33r5LD2lyOKWz9cHot3zezvBJ DHBAfRRnhTfYVa743u/m1Tc12q59GT/b+PWRWvojXFtHSgeepvztrSJofeYASHcd K82ra0S5/MfaehkUTx+uIvQ= Received: (qmail 25191 invoked by alias); 26 Oct 2013 10:24:57 -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 25175 invoked by uid 89); 26 Oct 2013 10:24:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 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; Sat, 26 Oct 2013 10:24:55 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9QAOsCa002953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 26 Oct 2013 06:24:54 -0400 Received: from stumpy.slc.redhat.com (ovpn-113-65.phx2.redhat.com [10.3.113.65]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r9QAOsaf005956 for ; Sat, 26 Oct 2013 06:24:54 -0400 Message-ID: <526B9876.8060704@redhat.com> Date: Sat, 26 Oct 2013 04:24:54 -0600 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: gcc-patches Subject: Minor mudflap fallout X-IsSubscribed: yes It appears that mudflap creeped into one additional file (targhooks) between the time I bootstrapped the final change and committed the change. This also elimiantes PRED_MUDFLAP which I missed the first time around. Given this is currently breaking boostrap, I'm checking it in proactively, but will allow my bootstrap and regression test to continue overnight. diff --git a/gcc/predict.def b/gcc/predict.def index f8dba66..2ce135c 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -117,9 +117,6 @@ DEF_PREDICTOR (PRED_NEGATIVE_RETURN, "negative return", HITRATE (96), 0) /* Branch ending with return; is probably not taken */ DEF_PREDICTOR (PRED_NULL_RETURN, "null return", HITRATE (90), 0) -/* Branches to a mudflap bounds check are extremely unlikely. */ -DEF_PREDICTOR (PRED_MUDFLAP, "mudflap check", PROB_VERY_LIKELY, 0) - /* Branches to compare induction variable to a loop bound is extremely likely. */ DEF_PREDICTOR (PRED_LOOP_IV_COMPARE_GUESS, "guess loop iv compare", diff --git a/gcc/targhooks.c b/gcc/targhooks.c index bee404d..fd0d0d4 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -72,7 +72,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssanames.h" #include "tree-ssa-alias.h" #include "insn-codes.h" -#include "tree-mudflap.h" bool @@ -1576,10 +1575,6 @@ tree build_va_arg_indirect_ref (tree addr) { addr = build_simple_mem_ref_loc (EXPR_LOCATION (addr), addr); - - if (flag_mudflap) /* Don't instrument va_arg INDIRECT_REF. */ - mf_mark (addr); - return addr; }