gcov: Fix wrong usage of NAN in statistics (PR gcov-profile/86536).
commitf9b71a8794bd7849ce297f17b120eb53dc5ce71a
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 08:50:21 +0000 (26 08:50 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 08:50:21 +0000 (26 08:50 +0000)
treef468ca975fd865c0d7797df158bad531b2c05eed
parent4439e2fc160ae8b82a7a55b79efb3dc751afc1d1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262991 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcov.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/gcov-pr86536.c [new file with mode: 0644]