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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Jan 30 15:35:57 2017
New Revision: 245031

URL: https://gcc.gnu.org/viewcvs?rev=245031&root=gcc&view=rev
Log:
Fix profile corruption with -O1 (PR gcov-profile/79259)

2017-01-30  Martin Liska  <mli...@suse.cz>

        PR gcov-profile/79259
        * opts.c (common_handle_option): Enable flag_ipa_bit_cp w/
        -fprofile-generate.
2017-01-30  Martin Liska  <mli...@suse.cz>

        PR gcov-profile/79259
        * g++.dg/tree-prof/pr79259.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/tree-prof/pr79259.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/opts.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to