[Bug c/63318] Hello World C program using inline assembly to invoke write(2) on amd64 Linux fails to print Hello World

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 20 19:25:00 GMT 2014


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

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

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Your inline-asm is not reading from the string according to the constraints
which is why GCC does not emit the copy into hello.



More information about the Gcc-bugs mailing list