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.

Reply via email to