https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh that is because there is some IPA Register allocation going on. Anyways this is still not a bug. You need to mark a0 as a clobber in the inline-asm to let GCC know that a0 is touched.