Debian Codegraph @

gcc/testsuite/gcc.dg/sancov/basic0.c

raw
1 /* Basic test on number of inserted callbacks. */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize-coverage=trace-pc -fdump-tree-optimized -fdump-rtl-expand" } */
4
5 void foo(void)
6 {
7 }
8
9 /* { dg-final { scan-tree-dump-times "__builtin___sanitizer_cov_trace_pc \\(\\)" 1 "optimized" } } */
10 /* The built-in should not be tail-called: */
11 /* { dg-final { scan-rtl-dump-not "call_insn/j" "expand" } } */