http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12306
chrbr at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chrbr at gcc dot gnu.org --- Comment #5 from chrbr at gcc dot gnu.org --- > > needs it. If we knew that that pic function can't be called from > any non-pic functions by some additional information, we could > optimize the code with removing that save&restore r12. or from a pic function from the same module. using visibility protected perhaps ?