From patchwork Sat Jul 21 23:35:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Bosscher X-Patchwork-Id: 172473 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]) by ozlabs.org (Postfix) with SMTP id C18012C0269 for ; Sun, 22 Jul 2012 09:36:12 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1343518573; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: MIME-Version:Received:From:Date:Message-ID:Subject:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=My81fAs vPmDHraXrq62VnpHBzXI=; b=DQlMxigRryvaJJuxfXTcQQwZ9oFu5/Z9QY6E5b6 mNzziqgIFnEgEdrLeqZrPHWVL+AG1mx3tGVf7//1q74exsp/WmyQo4W8ZsmlJHoa QdSnCodXYMWB8IDwNQ2wj8H9FwOIfgFjT3FOOh0JQiCfsOGIJcMXe5tl5U64duWa XLbg= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:MIME-Version:Received:From:Date:Message-ID:Subject:To:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=iIWNO6t0EoXNAk00lMOkOvMg8LZtiiUAMz5qBMFZbzGTvd2zE8nzPxTIV5g+tg +cCVXIkUwGZjf+cJhLouwiJvQdb2I6P1RadqrPIc0BR9tVmVs2MXIwaJ/1JJiyxX UHiv09BOm8WI1NmpvvIrschJLvgU0YCrmIIphYhmR0Ucc=; Received: (qmail 17669 invoked by alias); 21 Jul 2012 23:36:09 -0000 Received: (qmail 17483 invoked by uid 22791); 21 Jul 2012 23:36:08 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, TW_LR X-Spam-Check-By: sourceware.org Received: from mail-lb0-f175.google.com (HELO mail-lb0-f175.google.com) (209.85.217.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 21 Jul 2012 23:35:55 +0000 Received: by lbol5 with SMTP id l5so8337671lbo.20 for ; Sat, 21 Jul 2012 16:35:54 -0700 (PDT) Received: by 10.112.42.41 with SMTP id k9mr5369067lbl.90.1342913753868; Sat, 21 Jul 2012 16:35:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.4.229 with HTTP; Sat, 21 Jul 2012 16:35:32 -0700 (PDT) From: Steven Bosscher Date: Sun, 22 Jul 2012 01:35:32 +0200 Message-ID: Subject: [patch] PR gcov-profile/32543 To: GCC Patches X-IsSubscribed: yes 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 Committed as obvious. Index: ChangeLog =================================================================== --- ChangeLog (revision 189747) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2012-07-21 Steven Bosscher + + PR gcov-profile/32543 + * profile.c (branch_prob): Update total_num_edges_instrumented and + report the number of edges to instrument. + 2012-07-21 Oleg Endo * config/sh/sh.md: Correct comment regarding clrt and sett insns. Index: profile.c =================================================================== --- profile.c (revision 189747) +++ profile.c (working copy) @@ -1133,6 +1133,9 @@ branch_prob (void) if (dump_file) fprintf (dump_file, "%d ignored edges\n", ignored_edges); + total_num_edges_instrumented += num_instrumented; + if (dump_file) + fprintf (dump_file, "%d instrumentation edges\n", num_instrumented); /* Compute two different checksums. Note that we want to compute the checksum in only once place, since it depends on the shape