Improve location information of -Wcoverage-mismatch.
authorMartin Liska <mliska@suse.cz>
Mon, 24 Sep 2018 11:28:23 +0000 (13:28 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 24 Sep 2018 11:28:23 +0000 (11:28 +0000)
commitbda815c5972fa6a22967ce5a8acf4181cc320757
tree4fe0fc2cc10ee8c9a752c05e268e594f8a149ff1
parentd609225669c3475adc236cd66968f99a3ca5aab5
Improve location information of -Wcoverage-mismatch.

2018-09-24  Martin Liska  <mliska@suse.cz>

* coverage.c (get_coverage_counts): Use warning_at
with current_function_decl location. Use %qD in warning
message.

From-SVN: r264530
gcc/ChangeLog
gcc/coverage.c