Fix profile corruption with -O1 (PR gcov-profile/79259)
authorMartin Liska <mliska@suse.cz>
Mon, 30 Jan 2017 15:35:57 +0000 (16:35 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 30 Jan 2017 15:35:57 +0000 (15:35 +0000)
commit37731134c71cc81ed8245d583e1fbbfab879fa5f
tree3d626a4862a93b559113fcd051f64f20bfe8f2de
parent8fd23c8e9ff446200401354d810a9c144ee72e65
Fix profile corruption with -O1 (PR gcov-profile/79259)

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

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

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

From-SVN: r245031
gcc/ChangeLog
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-prof/pr79259.C [new file with mode: 0644]