Come up with selftests for dbgcnt.
authorMartin Liska <mliska@suse.cz>
Wed, 13 Nov 2019 15:13:16 +0000 (16:13 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 13 Nov 2019 15:13:16 +0000 (15:13 +0000)
commit5024c8bb463fe7bfd20972cff37e3c917001172e
treedac28f0ad4fa2ca146efd545e350ce1b30137d2f
parent3c4fa8a8562d3788bb763ca5c8fb1563b8d4eb1a
Come up with selftests for dbgcnt.

2019-11-13  Martin Liska  <mliska@suse.cz>

* dbgcnt.c (test_sorted_dbg_counters): New.
(dbgcnt_c_tests): Likewise.
* selftest-run-tests.c (selftest::run_tests): Likewise.
* selftest.h (dbgcnt_c_tests): Likewise.

From-SVN: r278144
gcc/ChangeLog
gcc/dbgcnt.c
gcc/selftest-run-tests.c
gcc/selftest.h