[Bug target/34210] ffs builtin calls undefined __ffshi2

pmarques at grupopie dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 20 04:20:00 GMT 2008



------- Comment #4 from pmarques at grupopie dot com  2008-01-20 03:41 -------

gcc.c-torture/execute/ffs-1.c and gcc.c-torture/execute/ffs-2.c also fail with
this message. The test case gcc.c-torture/execute/builtin-bitops-1.c shows some
more similar errors:

builtin-bitops-1.c:(.text+0x6b4): undefined reference to `__popcounthi2'
builtin-bitops-1.c:(.text+0x6ee): undefined reference to `__parityhi2'
builtin-bitops-1.c:(.text+0x183e): undefined reference to `__clzhi2'

I tried to add the suggested libgcc/config/avr/t-avr. It didn't work, and I
don't know enough of gcc internals to understand what is going on.


-- 

pmarques at grupopie dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pmarques at grupopie dot com


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



More information about the Gcc-bugs mailing list