[stage1][PATCH] Make TOPN counter dynamically allocated.

Martin Liška mliska@suse.cz
Wed Jun 3 06:28:29 GMT 2020


On 6/2/20 3:19 PM, Martin Liška wrote:
> I'm suggesting to pre-allocate 16 gcov_kvp in the gcov run-time library.
> Please take a look at the attached patch. I also added a test-case that
> stresses that. I've just finished LTO PGO bootstrap of the GCC.
> 
> Ready for master?

There's V2 of the patch:

- guard __atomic_fetch_add in GCOV_SUPPORTS_ATOMIC

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgcov-support-overloaded-malloc.patch
Type: text/x-patch
Size: 5044 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200603/9f5e1a15/attachment.bin>


More information about the Gcc-patches mailing list