re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2)
authorJan Hubicka <hubicka@ucw.cz>
Tue, 8 Dec 2015 22:01:41 +0000 (23:01 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 8 Dec 2015 22:01:41 +0000 (22:01 +0000)
commitced7e9584b848a8d5975b23efb5eac04ee2aee6f
treefccadd5a0c819417c9fa8a460d16af2c7d45ea94
parent54f97f900086fcc62411261205dd61e50f460421
re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2)

PR ipa/61886
* ipa-visibility.c (can_replace_by_local_alias): Look through transparent
aliaes; refuse weakrefs.
(update_visibility_by_resolution_info): Skip transparent aliases in the
analysis part

From-SVN: r231428
gcc/ChangeLog
gcc/ipa-visibility.c