https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78095
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The inline-asm already restores it: 3301 "ld 2,-16(12)\n\t" /* restore tocptr */ \ So there is no reason to mark r2 as being clobbered.