re PR sanitizer/80444 (-fcompare-debug failures with -fsanitize-coverage=trace-pc)
authorJakub Jelinek <jakub@redhat.com>
Tue, 18 Apr 2017 15:02:06 +0000 (17:02 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 18 Apr 2017 15:02:06 +0000 (17:02 +0200)
commit3b5fb3cb5b3831765df93691f6a452c478985366
tree2552dd30d620e6cdeedfcac9aa0b80fa6777a07f
parentd1446456c3fcaa7be628726c9de4a877729490ca
re PR sanitizer/80444 (-fcompare-debug failures with -fsanitize-coverage=trace-pc)

PR sanitizer/80444
* sancov.c (sancov_pass): Use gsi_start_nondebug_after_labels_bb
instead of gsi_after_labels.

* gcc.dg/sancov/pr80444.c: New test.

From-SVN: r246971
gcc/ChangeLog
gcc/sancov.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sancov/pr80444.c [new file with mode: 0644]