https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69028
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Jul 22 10:19:57 2016 New Revision: 238637 URL: https://gcc.gnu.org/viewcvs?rev=238637&root=gcc&view=rev Log: Consider functions with xloc.file == NULL (PR PR gcov-profile/69028 PR gcov-profile/62047 * g++.dg/cilk-plus/pr69028.C: New test. PR gcov-profile/69028 PR gcov-profile/62047 * cilk.c (create_cilk_helper_decl): Set location of a new decl to the current_function_decl. PR gcov-profile/69028 PR gcov-profile/62047 * coverage.c (coverage_compute_lineno_checksum): Do not calculate checksum for fns w/o xloc.file. (coverage_compute_profile_id): Likewise. Added: trunk/gcc/testsuite/g++.dg/cilk-plus/pr69028.C Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/cilk.c trunk/gcc/coverage.c trunk/gcc/testsuite/ChangeLog