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

* [Bug middle-end/47982] Documentation error on libgcc __udivmoddi4
  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 ` pinskia at gcc dot gnu.org
  2012-02-03  2:42 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-03  2:41 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |pinskia at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-03 02:41:08 UTC ---
I am handling this one.


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

* [Bug middle-end/47982] Documentation error on libgcc __udivmoddi4
  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
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-03  2:42 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-03
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-03 02:39:57 UTC ---
Confirmed.


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

* [Bug middle-end/47982] Documentation error on libgcc __udivmoddi4
  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
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-03  4:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-03 04:11:41 UTC ---
Author: pinskia
Date: Fri Feb  3 04:11:31 2012
New Revision: 183862

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183862
Log:
2012-02-02  Andrew Pinski  <apinski@cavium.com>

        PR middle-end/47982
        PR middle-end/43967
        * doc/libgcc.texi (__udivmoddi4/__udivmodti4): Fix documentation typo.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/libgcc.texi


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

* [Bug middle-end/47982] Documentation error on libgcc __udivmoddi4
  2011-03-04  3:29 [Bug other/47982] New: Documentation error on libgcc __udivmoddi4 tzuhsiang.chien at gmail dot com
                   ` (2 preceding siblings ...)
  2012-02-03  4:12 ` pinskia at gcc dot gnu.org
@ 2012-02-03  4:13 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-03  4:13 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-03 04:12:27 UTC ---
Fixed finally.


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