https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88045
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Mon Nov 19 08:16:30 2018 New Revision: 266263 URL: https://gcc.gnu.org/viewcvs?rev=266263&root=gcc&view=rev Log: Make a workaround for PR gcov-profile/88045. 2018-11-19 Martin Liska <mli...@suse.cz> PR gcov-profile/88045 * coverage.c (coverage_begin_function): One can't relly on the fact that function ends on the same line it starts or later. 2018-11-19 Martin Liska <mli...@suse.cz> PR gcov-profile/88045 * g++.dg/gcov/pr88045.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/gcov/pr88045.C Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/coverage.c branches/gcc-8-branch/gcc/testsuite/ChangeLog