[Bug target/21079] avr-gcc lacks support for builtin ffs function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 17 22:45:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-17 22:45 -------
ffs is a POSIX function which almost all libc provides.
So if there is no fall back function, there is nothing which GCC can do.

Does avr have instructions which could be used to implement this if so it should implement ffssi/ffsdi 
and such.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21079



More information about the Gcc-bugs mailing list