Mercurial > hg > CbC > CbC_gcc
diff gcc/gcov-dump.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/gcov-dump.c Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/gcov-dump.c Thu Feb 13 11:34:05 2020 +0900 @@ -1,5 +1,5 @@ /* Dump a gcov file, for debugging use. - Copyright (C) 2002-2018 Free Software Foundation, Inc. + Copyright (C) 2002-2020 Free Software Foundation, Inc. Contributed by Nathan Sidwell <nathan@codesourcery.com> Gcov is free software; you can redistribute it and/or modify @@ -138,7 +138,7 @@ print_version (void) { printf ("gcov-dump %s%s\n", pkgversion_string, version_string); - printf ("Copyright (C) 2018 Free Software Foundation, Inc.\n"); + printf ("Copyright (C) 2020 Free Software Foundation, Inc.\n"); printf ("This is free software; see the source for copying conditions.\n" "There is NO warranty; not even for MERCHANTABILITY or \n" "FITNESS FOR A PARTICULAR PURPOSE.\n\n"); @@ -315,7 +315,9 @@ unsigned line_start = gcov_read_unsigned (); unsigned column_start = gcov_read_unsigned (); unsigned line_end = gcov_read_unsigned (); - printf (":%u:%u:%u", line_start, column_start, line_end); + unsigned column_end = gcov_read_unsigned (); + printf (":%u:%u-%u:%u", line_start, column_start, + line_end, column_end); if (artificial) printf (", artificial"); }