https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70945
--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> --- I like to avoid touching generic stuff for issues like this one. Please see https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01022.html for a brief outline of an alternative solution: I think my proposal of performing decl name remapping in a target-specific IPA pass works nicely for this issue too.