dbgcnt: report upper limit when lower == upper
authorMartin Liska <mliska@suse.cz>
Tue, 6 Oct 2020 08:49:47 +0000 (10:49 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 6 Oct 2020 10:22:39 +0000 (12:22 +0200)
gcc/ChangeLog:

* dbgcnt.c (dbg_cnt): Report also upper limit.

gcc/dbgcnt.c

index ae98a281d6351ceb14f2f54a3aa71a06365dabf7..01893ce7238ff72958a271be1613581e42d6e3bf 100644 (file)
@@ -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)