diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-22 03:46:46 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-22 03:46:46 +0200 |
commit | fb1de6a8543f4d7a63149bf99b54037315b8c3bb (patch) | |
tree | 6029900c2cf54ac7ffc3c8e56aca1a196d1f5b38 /gcc | |
parent | 3043006104023797c8193700aace6bf254139bc4 (diff) | |
download | gcc-fb1de6a8543f4d7a63149bf99b54037315b8c3bb.zip gcc-fb1de6a8543f4d7a63149bf99b54037315b8c3bb.tar.gz gcc-fb1de6a8543f4d7a63149bf99b54037315b8c3bb.tar.bz2 |
gcc.dg/no_profile_instrument_function-attr-1.c: Adjust for NO_DOT_IN_LABEL
mmix-knuth-mmixware is a NO_DOT_IN_LABEL target, so it gets a "_"
instead of the "." in the identifier of interest. Also tested and
compared to the output for cris-elf which is "regular" regarding
labels: there are no "false positive" identifiers there. The "." in a
TCL bracket expression matches only a literal ".".
Committed as obvious.
gcc/testsuite:
* gcc.dg/no_profile_instrument_function-attr-1.c: Adjust scanned
regex for NO_DOT_IN_LABEL.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c b/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c index 0c7e096..909f8a6 100644 --- a/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c +++ b/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c @@ -18,7 +18,7 @@ int main () return foo (); } -/* { dg-final { scan-tree-dump-times "__gcov0\\.main.* = PROF_edge_counter" 1 "optimized"} } */ +/* { dg-final { scan-tree-dump-times "__gcov0\[._\]main.* = PROF_edge_counter" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "__gcov_indirect_call_profiler_v" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "__gcov_time_profiler_counter = " 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "__gcov_init" 1 "optimized" } } */ |