]> gcc.gnu.org Git - gcc.git/commit
gcov: Fix wrong usage of NAN in statistics (PR gcov-profile/86536).
authorMartin Liska <mliska@suse.cz>
Thu, 26 Jul 2018 08:50:21 +0000 (10:50 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 26 Jul 2018 08:50:21 +0000 (08:50 +0000)
commit977667e6b74a56db3747caaed8ba776f6cae8cdf
treef468ca975fd865c0d7797df158bad531b2c05eed
parent6dd580109f5297ae467d3c32204530a735925ba9
gcov: Fix wrong usage of NAN in statistics (PR gcov-profile/86536).

2018-07-26  Martin Liska  <mliska@suse.cz>

        PR gcov-profile/86536
* gcov.c (format_gcov): Use printf format %.*f directly
        and do not handle special values.
2018-07-26  Martin Liska  <mliska@suse.cz>

        PR gcov-profile/86536
* gcc.misc-tests/gcov-pr86536.c: New test.

From-SVN: r262991
gcc/ChangeLog
gcc/gcov.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/gcov-pr86536.c [new file with mode: 0644]
This page took 0.056631 seconds and 5 git commands to generate.