public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/107027] New: Please improve the documentation of global register variables
@ 2022-09-24 18:28 segher at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: segher at gcc dot gnu.org @ 2022-09-24 18:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107027
           Summary: Please improve the documentation of global register
                    variables
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: segher at gcc dot gnu.org
  Target Milestone: ---

The semantics of global register variables are a strict superset of the
semantics
of local register variables, but this isn't clearly documented.  Having a
global
register variable as operand to an extended inline asm guarantees the register
declared for the register variable is used in the asm, it never is copied to a
temporary or similar.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-24 18:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24 18:28 [Bug middle-end/107027] New: Please improve the documentation of global register variables segher 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).