re PR ipa/65005 (FAIL: c-c++-common/torture/builtin-arith-overflow-12.c)
commit4bd019b8d50600807d95aadeb451b2e68162745f
authorJan Hubicka <hubicka@ucw.cz>
Wed, 11 Feb 2015 09:11:06 +0000 (11 10:11 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 11 Feb 2015 09:11:06 +0000 (11 09:11 +0000)
treeb7dae2a1fbb3c0a2609733cd211669c59ad0e68b
parent80f6181e2727fc2c2d74b603f94d44ae36daae66
re PR ipa/65005 (FAIL: c-c++-common/torture/builtin-arith-overflow-12.c)

PR ipa/65005
* ipa-visibility.c (cgraph_node::non_local_p): Turn into static
function.
* symtab.c (symtab_node::verify_base): Remove check that non-definitions
have no comdat group.
* lto-cgraph.c (lto_output_node): Always output thunk and alias info.
(lto_output_varpool_node): Always output alias info.
(output_refs): Output refs of boundary aliases, too.
(compute_ltrans_boundary): Add alias and thunk target into boundaries.
(output_symtab): Output call eges in thunks in boundary.
(get_alias_symbol): Remove.
(input_node, input_varpool_node): Do not special case weakrefs.
* ipa.c (symbol_table::remove_unreachable_nodes): Do not remove
alias and thunks targets in the boundary; do not take removed symbols
from their comdat groups.
* cgraph.c (cgraph_node::local_info): Look through aliases and thunks.
(cgraph_node::global_info): Remove.
(cgraph_node::rtl_info): Look through aliases and thunks.
* cgrpah.h (global_info): Remove.
(non_local_p): Remove.

From-SVN: r220608
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-visibility.c
gcc/ipa.c
gcc/lto-cgraph.c
gcc/symtab.c