public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/34210]  New: ffs builtin calls undefined __ffshi2
@ 2007-11-23 19:38 sjackman at gmail dot com
  2007-12-21 22:20 ` [Bug target/34210] " rask at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sjackman at gmail dot com @ 2007-11-23 19:38 UTC (permalink / raw)
  To: gcc-bugs

ffs((uint8_t)x) and ffs((uint16_t)x) generate a call to __ffshi2, but this
function does not exist in libgcc.a, giving the error
undefined reference to `__ffshi2'.

Test case:

int main(int argc)
{
        return ffs(argc);
}


-- 
           Summary: ffs builtin calls undefined __ffshi2
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sjackman at gmail dot com
GCC target triplet: avr


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-16 13:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-34210-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:15 ` [Bug target/34210] ffs builtin calls undefined __ffshi2 jackie.rosen at hushmail dot com
2007-11-23 19:38 [Bug c/34210] New: " sjackman at gmail dot com
2007-12-21 22:20 ` [Bug target/34210] " rask at gcc dot gnu dot org
2008-01-20  4:20 ` pmarques at grupopie dot com
2008-03-23  0:24 ` hutchinsonandy at aim dot com
2008-03-23  3:05 ` eric dot weddington at atmel dot com
2008-04-07 23:17 ` hutchinsonandy at gcc dot gnu dot org
2008-04-08 15:15 ` eric dot weddington at atmel dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).