diff options
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c index b6cbbc80b74..d24979fc6fd 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -1862,16 +1862,13 @@ output_lines (gcov_file, src) { retval = fgets (string, STRING_SIZE, source_file); if (!retval) - { - fnotice (stderr, "%s:unexpected EOF\n", src->name); - break; - } + break; fputs (retval, gcov_file); } while (!retval[0] || retval[strlen (retval) - 1] != '\n'); } if (!retval) - fputs ("??\n", gcov_file); + fputs ("/*EOF*/\n", gcov_file); if (flag_all_blocks) { |