Fix thinko in lto.c (PR bootstrap/87130).
2018-08-29 Martin Liska <mliska@suse.cz> PR bootstrap/87130 * lto.c (read_cgraph_and_symbols): Fix thinko, revert to behavior before r263887. From-SVN: r263950
This commit is contained in:
parent
e8a0276ced
commit
9ed6dbeeb2
@ -1,3 +1,9 @@
|
|||||||
|
2018-08-29 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
PR bootstrap/87130
|
||||||
|
* lto.c (read_cgraph_and_symbols): Fix thinko, revert
|
||||||
|
to behavior before r263887.
|
||||||
|
|
||||||
2018-08-27 Martin Liska <mliska@suse.cz>
|
2018-08-27 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
* lto-lang.c (handle_const_attribute): Use new function
|
* lto-lang.c (handle_const_attribute): Use new function
|
||||||
|
@ -2923,8 +2923,8 @@ read_cgraph_and_symbols (unsigned nfiles, const char **fnames)
|
|||||||
FOR_EACH_SYMBOL (snode)
|
FOR_EACH_SYMBOL (snode)
|
||||||
if (snode->externally_visible && snode->real_symbol_p ()
|
if (snode->externally_visible && snode->real_symbol_p ()
|
||||||
&& snode->lto_file_data && snode->lto_file_data->resolution_map
|
&& snode->lto_file_data && snode->lto_file_data->resolution_map
|
||||||
&& !(TREE_CODE (snode->decl) != FUNCTION_DECL
|
&& !(TREE_CODE (snode->decl) == FUNCTION_DECL
|
||||||
|| fndecl_built_in_p (snode->decl))
|
&& fndecl_built_in_p (snode->decl))
|
||||||
&& !(VAR_P (snode->decl) && DECL_HARD_REGISTER (snode->decl)))
|
&& !(VAR_P (snode->decl) && DECL_HARD_REGISTER (snode->decl)))
|
||||||
{
|
{
|
||||||
ld_plugin_symbol_resolution_t *res;
|
ld_plugin_symbol_resolution_t *res;
|
||||||
|
Loading…
Reference in New Issue
Block a user