From: Martin Liska Date: Tue, 6 Oct 2020 08:49:47 +0000 (+0200) Subject: dbgcnt: report upper limit when lower == upper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8988ec5b4232ba1d54a2737d2d03a3161b64300e;p=gcc.git dbgcnt: report upper limit when lower == upper gcc/ChangeLog: * dbgcnt.c (dbg_cnt): Report also upper limit. --- diff --git a/gcc/dbgcnt.c b/gcc/dbgcnt.c index ae98a281d63..01893ce7238 100644 --- a/gcc/dbgcnt.c +++ b/gcc/dbgcnt.c @@ -79,7 +79,10 @@ dbg_cnt (enum debug_counter index) { print_limit_reach (map[index].name, v, false); if (min == max) - limits[index].pop (); + { + print_limit_reach (map[index].name, v, true); + limits[index].pop (); + } return true; } else if (v < max)