On 1/27/26 18:32, Jan Hubicka wrote:
On 1/26/26 22:34, Joseph Myers wrote:
On Sun, 25 Jan 2026, Jørgen Kvalsvik wrote:
diff --git a/gcc/testsuite/g++.dg/gcov/gcov-24.C
b/gcc/testsuite/g++.dg/gcov/gcov-24.C
new file mode 100644
index 00000000000..6bc82127736
--- /dev/null
+++ b/gcc/testsuite/g++.dg/gcov/gcov-24.C
@@ -0,0 +1,814 @@
+/* { dg-options "--coverage" } */
+/* { dg-do run { target native } } */
gcov tests should no longer be restricted to { target native }, they can
run in cross-compilation environments as well now. Likewise for all such
tests in this patch.
Ah, excellent. I've addressed this.
Hello,
I am sorry for taking long time to get to this. The gcov interface
parts looks good to me.
The hash set for disable_coverage_blocks has chance to go out of sync as
blocks are removed. We have a lot of bit space in bb->flags
(cfg-flags.def).
However the front-end bits are out of my expertise, so I can not approve
them. Joseph, perhaps you can have a look?
Honza
Ok, I'll do the intrusive approach. It's certainly nicer, and while a
bit out of sync is less of a problem when ignored blocks are removed,
the important information is marking blocks that are created later, and
I think I covered all of them.
I'll update the patch with bb->flags and resubmit as v3, pending
frontend approval.
Thanks,
Jørgen
Thanks,
Jørgen