re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2)
authorJan Hubicka <hubicka@ucw.cz>
Tue, 8 Dec 2015 20:46:42 +0000 (21:46 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 8 Dec 2015 20:46:42 +0000 (20:46 +0000)
commit41c60c6c75356bfe5e4ce11184b4bf62a6a86132
tree070b72d4a6f7fcdb30376fb1606827653d3cd7a8
parent21fc3950f686e37785b377d44d0054b75e8e203f
re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2)

PR ipa/61886
* lto-partition.c (add_symbol_to_partition_1): Transparent aliases
are not part of the definition.
(contained_in_symbol): Likewise.
(promote_symbol): When promoting a symbol also promote all transparent
aliases.
(rename_statics): Weakref needs unique name, too.

From-SVN: r231425
gcc/lto/ChangeLog
gcc/lto/lto-partition.c