http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734
--- Comment #16 from Teresa Johnson <tejohnson at google dot com> 2012-12-19 15:07:54 UTC --- On Wed, Dec 19, 2012 at 5:07 AM, rguenth at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55734 > > --- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-19 > 13:07:01 UTC --- > (In reply to comment #14) >> (In reply to comment #10) >> > Ah yes, now I remember. Yes, there is a problem with libgcov.a. I >> > wasn't seeing it because I was only building cc1. You are correct >> > Teresa, that is the reason for the gymnastics in my original patch. >> > >> > houston:/build/trunkboot/gcc$ nm libgcov.a |grep popc >> > U popcount_hwi >> > >> > I will let you and Richard sort it out :). >> >> libgcov should be built by stage1 gcc already and thus has the builtins >> available. > > To be more explicit - use #if IN_LIBGCOV to guard __builtin_popcountll vs. > popcount_hwi. Ah, yes, this fact escaped me and makes things much simpler. Running the regression tests right now, will send patch as soon as they finish... Thanks, Teresa > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. -- Teresa Johnson | Software Engineer | tejohn...@google.com | 408-460-2413