Strenghten assumption about function start and end line (PR gcov-profile/88045).
commit7aaa2cc6993a652dff9c2d78aab96351e334368c
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2018 08:16:17 +0000 (19 08:16 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2018 08:16:17 +0000 (19 08:16 +0000)
tree82e44c5460111671c6f34fa52668334ee91c8496
parentfeedb53d01dc0664c0825e9a934bc2cec01b141f
Strenghten assumption about function start and end line (PR gcov-profile/88045).

2018-11-19  Martin Liska  <mliska@suse.cz>

PR gcov-profile/88045
* coverage.c (coverage_begin_function): Add assert.
2018-11-19  Martin Liska  <mliska@suse.cz>

PR gcov-profile/88045
* g++.dg/gcov/pr88045.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266262 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/coverage.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gcov/pr88045.C [new file with mode: 0644]