https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64330
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> --- I think the test should be something like VIRTUAL || -fmerge-all-constants || (!TREE_ADDRESSABLE && ! externally_visible) te current code seems to miss the externally_visible flag. Indeed you can not merge symbols that may have address taken. How does asan behave with aliases? Honza