This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/47982] New: Documentation error on libgcc __udivmoddi4


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]