Hubička: Link time and inter-procedural optimization improvements in GCC 5
Hubička: Link time and inter-procedural optimization improvements in GCC 5
Jan Hubička has posted a lengthy
discussion of the optimization improvements found in the upcoming
GCC 5.0 release. "Identical code folding is a new pass
(contributed by Martin Liška, SUSE) looking for functions with the same
code and variables with the same constructors. If some are found, one copy
is removed and replaced one by an alias to another where possible. This is
especially important for C++ code bases that tend to contain duplicated
functions as a result of template instantiations.
"