public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Ondrej Kubanek <kubaneko@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/kubaneko/heads/histogram)] corrected shift
Date: Thu, 23 Feb 2023 23:22:48 +0000 (GMT)	[thread overview]
Message-ID: <20230223232248.1F5633858C00@sourceware.org> (raw)

https://gcc.gnu.org/g:93b5586f6f5b5b8db0052bae4ebf066f0421b8b9

commit 93b5586f6f5b5b8db0052bae4ebf066f0421b8b9
Author: kubaneko <kubanek0ondrej@gmail.com>
Date:   Wed Feb 22 10:19:34 2023 +0000

    corrected shift

Diff:
---
 gcc/value-prof.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/value-prof.cc b/gcc/value-prof.cc
index 133ed62118a..110cede7cf4 100644
--- a/gcc/value-prof.cc
+++ b/gcc/value-prof.cc
@@ -277,7 +277,7 @@ dump_histogram_value (FILE *dump_file, histogram_value hist)
         ++i){
   	  fprintf (dump_file, "Histogram counter histogram%" PRId64
 	     ":%" PRId64 ".\n",
-	     (int64_t) 1>>i,
+	     (int64_t) 1<<i,
 	     (int64_t) hist->hvalue.counters[(param_profile_histogram_size_lin-lin2_log)+i]);
         }
       }

             reply	other threads:[~2023-02-23 23:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23 23:22 Ondrej Kubanek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-23 18:38 Ondrej Kubanek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230223232248.1F5633858C00@sourceware.org \
    --to=kubaneko@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).