aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 417b4f42e71..50061c7d56e 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -725,7 +725,7 @@ process_file (const char *file_name)
fns = fn->next;
fn->next = NULL;
- if (fn->counts)
+ if (fn->counts || no_data_file)
{
unsigned src = fn->src;
unsigned line = fn->line;