This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263113 - in /trunk/gcc: ChangeLog profile.c te...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2018 10:34:37 -0000
- Subject: r263113 - in /trunk/gcc: ChangeLog profile.c te...
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 <mliska@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 <mliska@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