public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/112391] New: inline-asm documentation wording for implicitly volatile can be cause confusion
@ 2023-11-05  2:59 pinskia at gcc dot gnu.org
  2023-11-05  2:59 ` [Bug c/112391] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-05  2:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112391

            Bug ID: 112391
           Summary: inline-asm documentation wording for implicitly
                    volatile can be cause confusion
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: c
          Assignee: pinskia at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Reading:
https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Extended-Asm.html
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html

It current reads:
```
asm statements that have no output operands and asm goto statements, are
implicitly volatile.
```

this can be slightly confusing is the requirement that the asm statement has no
output operands and an asm goto or is it both are implicitly volatile. Knowing
GCC and fixing PR 103979 (asm goto with output operands) myself, I know this is
supposed to be it is both get added the volatile:
* asm statements with no output operands
* asm goto statements

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

* [Bug c/112391] inline-asm documentation wording for implicitly volatile can be cause confusion
  2023-11-05  2:59 [Bug c/112391] New: inline-asm documentation wording for implicitly volatile can be cause confusion pinskia at gcc dot gnu.org
@ 2023-11-05  2:59 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-05  2:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112391

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-11-05
             Status|UNCONFIRMED                 |ASSIGNED

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

end of thread, other threads:[~2023-11-05  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-05  2:59 [Bug c/112391] New: inline-asm documentation wording for implicitly volatile can be cause confusion pinskia at gcc dot gnu.org
2023-11-05  2:59 ` [Bug c/112391] " 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).