[Bug inline-asm/94522] Enhancement request: asm goto with outputs

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 7 21:22:31 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|                            |2020-04-07
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |inline-asm

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Take:
asm goto ("" : "=r"(*m) :....);

Where does the store to *m happen?  Do you replicate it on to the label side
too?

What are the semantics for the above case on clang?  My bet is it is not well
defined and really broken.


More information about the Gcc-bugs mailing list