https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61232
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Well, is there a reason why I can not place static symbol into the comdat section, just as we do for labels within functions or thunks? Those also do not have unique name. It seems to me that there is a problem in the output machinery confusing comdat locals with comdats in the case of variables. Let me see if I can fix it easily or I will disable the pass for variables for time being.