This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Miscellaneous testsuitsuite failures under hpux 10.20


> >   In message <200006282308.QAA02706@localhost.cygnus.com>you write:
> >   > > about the portability of ffs which you have used in your patch.  The
> >   > 
> >   > That's one of the reasons the patch is not committed.  Probably it
> >   > should use something like exact_log2, or supply its own ffs
> >   > equivalent.
> > Right.  We've got routines to compute log2, and presumably that's all we
> > really want/need, right?
> 
> Unfortunately, what this particular code needs is exactly ffs.  That's
> no problem, though, it just means we should re-implement it, perhaps
> in libiberty.  [As a practical matter, nearly every platform where gcc
> is used already has ffs().]  If I ever got time I could do this.

What about using floor_log2_wide in toplev.c?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]