public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/47982] New: Documentation error on libgcc __udivmoddi4
@ 2011-03-04  3:29 tzuhsiang.chien at gmail dot com
  2012-02-03  2:41 ` [Bug middle-end/47982] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tzuhsiang.chien at gmail dot com @ 2011-03-04  3:29 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Documentation error on libgcc __udivmoddi4
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tzuhsiang.chien@gmail.com


In this document:
http://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html#Integer-library-routines

We have:
— Runtime Function: unsigned long __udivmoddi3 (unsigned long a, unsigned long
b, unsigned long *c)

Which should be:
— Runtime Function: unsigned long __udivmoddi4 (unsigned long a, unsigned long
b, unsigned long *c)

(Notice the function name)


Currently, gcc/libgcc2.c is using __udivmoddi4 as the function name.


To fix this bug, we should change gcc/doc/libgcc.texi line 109:

@deftypefn {Runtime Function} {unsigned long} __udivmoddi3 (unsigned long
@var{a}, unsigned long @var{b}, unsigned long *@var{c})

to

@deftypefn {Runtime Function} {unsigned long} __udivmoddi4 (unsigned long
@var{a}, unsigned long @var{b}, unsigned long *@var{c})


Sincerely,


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

end of thread, other threads:[~2012-02-03  4:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04  3:29 [Bug other/47982] New: Documentation error on libgcc __udivmoddi4 tzuhsiang.chien at gmail dot com
2012-02-03  2:41 ` [Bug middle-end/47982] " pinskia at gcc dot gnu.org
2012-02-03  2:42 ` pinskia at gcc dot gnu.org
2012-02-03  4:12 ` pinskia at gcc dot gnu.org
2012-02-03  4:13 ` pinskia at gcc dot gnu.org

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).