https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65859
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> ---
You need to mark the variable as used by using the used attribute as the
compiler has no way seeing the variable as being used in the inline-asm.
