public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39935]  New: Incorrect comments for %z modifier
@ 2009-04-27 22:02 hjl dot tools at gmail dot com
  2009-04-27 22:03 ` [Bug target/39935] " hjl dot tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-27 22:02 UTC (permalink / raw)
  To: gcc-bugs

i386.md has

;; The special asm out single letter directives following a '%' are:
;; 'z' mov%z1 would be movl, movw, or movb depending on the mode of
;;     operands[1].

But what %z really does is

;; 'z' print the instruction suffix for the size of the current
;;     memory operand on x87 instructions and register operand on
;;     integer instructions.

When people are reading gcc source, they will get wrong information.


-- 
           Summary: Incorrect comments for %z modifier
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: x86


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


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

* [Bug target/39935] Incorrect comments for %z modifier
  2009-04-27 22:02 [Bug target/39935] New: Incorrect comments for %z modifier hjl dot tools at gmail dot com
@ 2009-04-27 22:03 ` hjl dot tools at gmail dot com
  2009-04-28  0:12 ` hjl dot tools at gmail dot com
  2009-09-17  8:55 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-27 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2009-04-27 22:03 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2009-04/msg02179.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |04/msg02179.html


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


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

* [Bug target/39935] Incorrect comments for %z modifier
  2009-04-27 22:02 [Bug target/39935] New: Incorrect comments for %z modifier hjl dot tools at gmail dot com
  2009-04-27 22:03 ` [Bug target/39935] " hjl dot tools at gmail dot com
@ 2009-04-28  0:12 ` hjl dot tools at gmail dot com
  2009-09-17  8:55 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-28  0:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2009-04-28 00:12 -------
The updated patch is at

http://gcc.gnu.org/ml/gcc-patches/2009-04/msg02188.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |http://gcc.gnu.org/ml/gcc-
                   |patches/2009-               |patches/2009-
                   |04/msg02179.html            |04/msg02188.html


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


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

* [Bug target/39935] Incorrect comments for %z modifier
  2009-04-27 22:02 [Bug target/39935] New: Incorrect comments for %z modifier hjl dot tools at gmail dot com
  2009-04-27 22:03 ` [Bug target/39935] " hjl dot tools at gmail dot com
  2009-04-28  0:12 ` hjl dot tools at gmail dot com
@ 2009-09-17  8:55 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2009-09-17  8:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2009-09-17 08:54 -------
Comment fixed in mainline.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-09-17  8:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-27 22:02 [Bug target/39935] New: Incorrect comments for %z modifier hjl dot tools at gmail dot com
2009-04-27 22:03 ` [Bug target/39935] " hjl dot tools at gmail dot com
2009-04-28  0:12 ` hjl dot tools at gmail dot com
2009-09-17  8:55 ` ubizjak at gmail 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).