https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112912
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Again bugzilla is not the right place to ask this kind of question, gcc@ is a better place. Refactoring and sharing the mangling code definitely can be done. I suspect the first step is to move away from using obstack though. But again bugzilla is not the right place to ask this.