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 18:38:01 +0000 (GMT) [thread overview] Message-ID: <20230223183801.ACE0C3856975@sourceware.org> (raw) https://gcc.gnu.org/g:d2c645c824f0931c9a20dd7cd65d05d85759806c commit d2c645c824f0931c9a20dd7cd65d05d85759806c 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 f0a86a9010c..6e54da7c833 100644 --- a/gcc/value-prof.cc +++ b/gcc/value-prof.cc @@ -278,7 +278,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]); } }
next reply other threads:[~2023-02-23 18:38 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-23 18:38 Ondrej Kubanek [this message] 2023-02-23 23:22 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=20230223183801.ACE0C3856975@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: linkBe 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).