This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/47982] New: Documentation error on libgcc __udivmoddi4
- From: "tzuhsiang.chien at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Mar 2011 03:29:32 +0000
- Subject: [Bug other/47982] New: Documentation error on libgcc __udivmoddi4
- Auto-submitted: auto-generated
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,