https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85372
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Jul 31 10:34:36 2018 New Revision: 263113 URL: https://gcc.gnu.org/viewcvs?rev=263113&root=gcc&view=rev Log: GCOV: add cache for streamed locations. 2018-07-31 Martin Liska <mli...@suse.cz> PR gcov-profile/85338 PR gcov-profile/85350 PR gcov-profile/85372 * profile.c (struct location_triplet): New. (struct location_triplet_hash): Likewise. (output_location): Do not output a BB that is already recorded for a line. (branch_prob): Use streamed_locations. 2018-07-31 Martin Liska <mli...@suse.cz> PR gcov-profile/85338 PR gcov-profile/85350 PR gcov-profile/85372 * gcc.misc-tests/gcov-pr85338.c: New test. * gcc.misc-tests/gcov-pr85350.c: New test. * gcc.misc-tests/gcov-pr85372.c: New test. Added: trunk/gcc/testsuite/gcc.misc-tests/gcov-pr85338.c trunk/gcc/testsuite/gcc.misc-tests/gcov-pr85350.c trunk/gcc/testsuite/gcc.misc-tests/gcov-pr85372.c Modified: trunk/gcc/ChangeLog trunk/gcc/profile.c trunk/gcc/testsuite/ChangeLog