Remove wrong assert about gcov_type (PR lto/79587).
authorMartin Liska <mliska@suse.cz>
Wed, 22 Feb 2017 09:45:42 +0000 (10:45 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 22 Feb 2017 09:45:42 +0000 (09:45 +0000)
commit8f4f841a3e443d7de88fcb76075eb3003f280bd7
treea8803c5b92290a769e7f66b6b708020cbf81bcd4
parentbac4371a6ac451bd5f8b305610eb47fcb9bda3a9
Remove wrong assert about gcov_type (PR lto/79587).

2017-02-22  Martin Liska  <mliska@suse.cz>

PR lto/79587
* data-streamer-in.c (streamer_read_gcov_count): Remove assert.
* data-streamer-out.c (streamer_write_gcov_count_stream):
Likewise.
* value-prof.c (stream_out_histogram_value): Make assert more
precise based on type of counter.
2017-02-22  Martin Liska  <mliska@suse.cz>

PR lto/79587
* gcc.dg/tree-prof/pr79587.c: New test.

From-SVN: r245647
gcc/ChangeLog
gcc/data-streamer-in.c
gcc/data-streamer-out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/pr79587.c [new file with mode: 0644]
gcc/value-prof.c