Fix GCOV CFG related issues.
commit340529cc413daa3038647593024c3be969afc755
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 10:33:21 +0000 (31 10:33 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 10:33:21 +0000 (31 10:33 +0000)
treeadbc04540f28f40a8827907f4f6b9b8e4883323a
parent396e3f01aef5739c9bb29531509b7029e907e3e2
Fix GCOV CFG related issues.

2018-07-31  Martin Liska  <mliska@suse.cz>

        PR gcov-profile/83813
        PR gcov-profile/84758
        PR gcov-profile/85217
        PR gcov-profile/85332
* profile.c (branch_prob): Do not record GOTO expressions
        for GIMPLE statements which locations are already streamed.
2018-07-31  Martin Liska  <mliska@suse.cz>

        PR gcov-profile/83813
        PR gcov-profile/84758
        PR gcov-profile/85217
        PR gcov-profile/85332
* gcc.misc-tests/gcov-pr83813.c: New test.
* gcc.misc-tests/gcov-pr84758.c: New test.
* gcc.misc-tests/gcov-pr85217.c: New test.
* gcc.misc-tests/gcov-pr85332.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263111 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/profile.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/gcov-pr83813.c [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/gcov-pr84758.c [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/gcov-pr85217.c [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/gcov-pr85332.c [new file with mode: 0644]