public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/kubaneko/heads/histogram)] change typo
@ 2023-02-27 15:18 Ondrej Kubanek
  0 siblings, 0 replies; only message in thread
From: Ondrej Kubanek @ 2023-02-27 15:18 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a19d946ebcf24ce1b8387a4ba0c2458901c2324c

commit a19d946ebcf24ce1b8387a4ba0c2458901c2324c
Author: kubaneko <kubanek0ondrej@gmail.com>
Date:   Mon Feb 27 15:18:25 2023 +0000

    change typo

Diff:
---
 libgcc/libgcov-profiler.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libgcc/libgcov-profiler.c b/libgcc/libgcov-profiler.c
index 9625778d2c7..7d9ff90d40c 100644
--- a/libgcc/libgcov-profiler.c
+++ b/libgcc/libgcov-profiler.c
@@ -64,8 +64,7 @@ floor_log2 (gcov_type_unsigned x)
 void
 __gcov_histogram_profiler (gcov_type *counters, gcov_type value, gcov_type hist_sizes)
 {
-  fprintf (stderr, "profiling:Skip\n");
-  assert(hist_sizes>=0 && value>=0);
+  gcc_assert(hist_sizes>=0 && value>=0);
   gcov_type_unsigned hist_size=hist_sizes;
   gcov_type_unsigned u_value=value;
   gcov_type_unsigned tot_size=hist_size>>32;
@@ -93,8 +92,7 @@ __gcov_histogram_profiler (gcov_type *counters, gcov_type value, gcov_type hist_
 void
 __gcov_histogram_profiler_atomic (gcov_type *counters, gcov_type value, gcov_type hist_sizes)
 {
-  fprintf (stderr, "profiling:Skip\n");
-  assert(hist_sizes>=0 && value>=0);
+  gcc_assert(hist_sizes>=0 && value>=0);
   gcov_type_unsigned hist_size=hist_sizes;
   gcov_type_unsigned u_value=value;
   gcov_type_unsigned tot_size=hist_size>>32;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-27 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-27 15:18 [gcc(refs/users/kubaneko/heads/histogram)] change typo Ondrej Kubanek

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).