]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraph.h
re PR c++/70018 (Possible issue around IPO and C++ comdats discovered as pure/const)
authorJan Hubicka <jh@suse.cz>
Sat, 16 Apr 2016 16:30:48 +0000 (18:30 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 16 Apr 2016 16:30:48 +0000 (16:30 +0000)
commitf13fe18b5b4881a457c2176214349d322b61e187
tree4cef7161787b418b3d579ca1e2fc6cd70a647584
parent06c3ddc04956997f9a45769cf44cc85f013e0245
re PR c++/70018 (Possible issue around IPO and C++ comdats discovered as pure/const)

PR ipa/70018
* cgraph.c (cgraph_node::get_availability): Add REF parameter.
(cgraph_node::function_symbol): Likewise.
(cgraph_node::function_or_virtual_thunk_symbol): Likewise.
* cgraph.h (symtab_node::get_availabbility): Add REF parameter.
(symtab_node::ultimate_alias_target): Add REF parameter.
(symtab_node::binds_to_current_def_p): Declare.
(symtab_node;:ultimate_alias_target_1): Add REF parameter.
(cgraph_node::function_symbol): Likewise.
(cgraph_node::function_or_virtual_thunk_symbol): Likewise.
(cgraph_node::get_availability): Likewise.
(cgraph_edge::binds_to_current_def_p): New inline function.
(varpool_node::get_availability): Add REF parameter.
(varpool_node::ultimate_alias_target): Likewise.
* symtab.c (symtab_node::ultimate_alias_target_1): Likewise.
(symtab_node::binds_to_current_def_p): Likewise.
* varpool.c (varpool_node::get_availability): Likewise.

From-SVN: r235063
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/symtab.c
gcc/varpool.c