This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/53915] gcov can call format_gcov with top > bottom, which is unexpected


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]