diff options
author | Richard Biener <rguenther@suse.de> | 2024-04-11 08:47:19 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-04-11 11:03:56 +0200 |
commit | 52b63100b1eda433120e726d4e8f8dfca6fc94fa (patch) | |
tree | 15b0c65c1916bebe3908e6462a6f9e9e0559d902 /gcc/btfout.cc | |
parent | cb46aca0a07355abf2f0b04f52087bca8f848524 (diff) | |
download | gcc-52b63100b1eda433120e726d4e8f8dfca6fc94fa.zip gcc-52b63100b1eda433120e726d4e8f8dfca6fc94fa.tar.gz gcc-52b63100b1eda433120e726d4e8f8dfca6fc94fa.tar.bz2 |
middle-end/114681 - condition coverage and inlining
When inlining a gcond it can map to multiple stmts, esp. with
non-call EH. The following makes sure to pick up the remapped
condition when dealing with condition coverage.
PR middle-end/114681
* tree-inline.cc (copy_bb): Key on the remapped stmt
to identify gconds to have condition coverage data remapped.
* gcc.misc-tests/gcov-pr114681.c: New testcase.
Diffstat (limited to 'gcc/btfout.cc')
0 files changed, 0 insertions, 0 deletions