On Tue, 28 Feb 2017, Jan Hubicka wrote: >> And one question: "declaration linking" is used in the description >> of Link-time optimization improvements, alas that string does not >> appear anywhere in either the source tree or documentation? > It is my own name indeed. lto-symtab.c does merge declarations > when they refer to same symbol name. Newly we do not merge when > the symbol names does not appear semantically similar enough. > We can also call it declaration merging, but it is internal name > anyway and most link-time optimization papers reffer to these merging > processes as linking.
Thanks for the explanation, Honza. In that case, I guess leave it as is unless someone else wants to see this changed. As another note, "declaration merging" once occurs in our codebase, in varpool.c: /* When doing declaration merging we have duplicate entries for given decl. Do not attempt to remove the boides, or we will end up remiving wrong one. */ Should this read "Do not attempt to address this, or we risk removing the wrong one" or something like that? Unless