[PATCH] Fix gcov misleading error (PR gcov-profile/86817).
Martin Liška
mliska@suse.cz
Thu Aug 2 09:36:00 GMT 2018
Hi.
As seen in the PR, we must first read all functions into global array functions
and then processing of these can happen. Currently we process functions
multiple times.
I'm planning to install that after it survives regression tests.
Martin
gcc/ChangeLog:
2018-08-02 Martin Liska <mliska@suse.cz>
PR gcov-profile/86817
* gcov.c (process_all_functions): New function.
(main): Call it.
(process_file): Move functions processing to
process_all_functions.
---
gcc/gcov.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-gcov-misleading-error-PR-gcov-profile-86817.patch
Type: text/x-patch
Size: 1324 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180802/502dea74/attachment.bin>
More information about the Gcc-patches
mailing list