[Bug inline-asm/101422] register variable uninitialised before passing to asm
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 11 18:30:00 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101422
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You are just passing the address of the variable. You either need "m"(v)
there, a simple "memory" might work too.
See PR 36639, and PR 93952. There are others.
More information about the Gcc-bugs
mailing list