This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/53915] gcov can call format_gcov with top > bottom, which is unexpected
- From: "vincent-gcc at vinc17 dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jul 2012 15:19:20 +0000
- Subject: [Bug gcov-profile/53915] gcov can call format_gcov with top > bottom, which is unexpected
- Auto-submitted: auto-generated
- References: <bug-53915-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53915
Vincent LefÃvre <vincent-gcc at vinc17 dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|gcov -f rounding problem |gcov can call format_gcov
| |with top > bottom, which is
| |unexpected
Severity|minor |normal
--- Comment #3 from Vincent LefÃvre <vincent-gcc at vinc17 dot net> 2012-07-10 15:19:20 UTC ---
After recompiling gcov with the -g option and testing with gdb:
Function 'mpfr_round_raw_2'
Breakpoint 1, format_gcov (top=10, bottom=9, dp=2) at ../../src/gcc/gcov.c:1651
and obviously the format_gcov function doesn't handle this case.