Consider functions with xloc.file == NULL (PR
authorMartin Liska <mliska@suse.cz>
Fri, 22 Jul 2016 10:19:57 +0000 (12:19 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 22 Jul 2016 10:19:57 +0000 (10:19 +0000)
commitbc91c4361527fb229ad47f20a45de0b3160f2de9
tree7d61a4e799f8e9fba5938c4b59cb017add066d75
parent9fe9a3a780c9cd8f5fa45e162640b7169c27fe8f
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.

From-SVN: r238637
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/cilk.c
gcc/coverage.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cilk-plus/pr69028.C [new file with mode: 0644]