https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95692
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-06-15 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Why do you think this is a GCC bug? saving/restoring the TOC register behind the back of GCC is incorrect and causes other issues. Why not use pure assembly code here instead of inline-asm and C?