Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2458)

Issue 6980044: [PATCH] Fix PR gcov-profile/55734 for bootstrapping with older compilers

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by tejohnson
Modified:
9 years, 8 months ago
Reviewers:
jakub, rguenther
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/trunk/gcc/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -2 lines) Patch
M gcov-io.c View 2 chunks +36 lines, -2 lines 0 comments Download

Messages

Total messages: 4
tejohnson
Fix PR gcov-profile/55734 by using methods from hwint.c instead of builtins, to handle non-GCC and ...
11 years, 4 months ago (2012-12-19 21:34:35 UTC) #1
jakub_redhat.com
On Wed, Dec 19, 2012 at 01:34:34PM -0800, Teresa Johnson wrote: > +#if IN_LIBGCOV > ...
11 years, 4 months ago (2012-12-20 01:19:55 UTC) #2
tejohnson
On Wed, Dec 19, 2012 at 5:19 PM, Jakub Jelinek <jakub@redhat.com> wrote: > On Wed, ...
11 years, 4 months ago (2012-12-20 06:14:28 UTC) #3
jakub_redhat.com
11 years, 4 months ago (2012-12-20 10:37:45 UTC) #4
On Wed, Dec 19, 2012 at 10:14:26PM -0800, Teresa Johnson wrote:
> Merged this pair into an #elif, but left the outer one (from the IN_LIBGCOV
> check) since it looks clearer.
> 
> New patch:
> 
> 2012-12-19  Teresa Johnson  <tejohnson@google.com>
>             Jakub Jelinek  <jakub@redhat.com>
> 
>         PR gcov-profile/55734
> * gcov-io.c (gcov_read_summary): Use __builtin_popcount instead
>         of __builtin_popcountll when building libgcov.a, otherwise use
>         popcount_hwi.
> (gcov_histo_index): When not building libgcov.a, use floor_log2
>         instead of __builtin_clzll.

Okay, thanks.

	Jakub
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b