This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Mar 22 14:32:24 2017
New Revision: 246384

URL: https://gcc.gnu.org/viewcvs?rev=246384&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-6-branch/gcc/testsuite/gcc.dg/tree-prof/pr79587.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/data-streamer-in.c
    branches/gcc-6-branch/gcc/data-streamer-out.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/value-prof.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]