[Bug lto/79587] ICE in streamer_write_gcov_count_stream, at data-streamer-out.c:343 while building Python 3.6.0 with PGO and LTO

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 22 15:00:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587

--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Mar 22 14:59:44 2017
New Revision: 246387

URL: https://gcc.gnu.org/viewcvs?rev=246387&root=gcc&view=rev
Log:
Backport r245647

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

        Backport from mainline
        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-03-22  Martin Liska  <mliska@suse.cz>

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

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

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/tree-prof/pr79587.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/data-streamer-in.c
    branches/gcc-5-branch/gcc/data-streamer-out.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/value-prof.c


More information about the Gcc-bugs mailing list