diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-15 01:20:55 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-15 01:20:55 +0000 |
commit | b9ffeffbda2ebaa239bbec69abe2097f10fc94ae (patch) | |
tree | 02fe16310bd09fdf1d3c23fde7236a1aa760fb1b /gcc/cgraph.h | |
parent | 7ba5025ccf30bc2924867e7a8889f2a8c2cc231c (diff) | |
download | gcc-b9ffeffbda2ebaa239bbec69abe2097f10fc94ae.tar.gz |
PR middle-end/45621
* g++.dg/lto/pr45621.h : New.
* g++.dg/lto/pr45621_0.C: New.
* g++.dg/lto/pr45621_1.C: New.
* cgraph.c (cgraph_update_edges_for_call_stmt_node): When new call is
redirected to clone, be happy.
* cgraph.h (cgraph node): Enable former_clone_of unconditinally.
* cgraphunit.c (verify_cgraph_node, cgraph_materialize_clone): Handle
former_clone_of unconditinally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 330c8839636..d7ca67c692f 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -227,11 +227,8 @@ struct GTY((chain_next ("%h.next"), chain_prev ("%h.previous"))) cgraph_node { /* For functions with many calls sites it holds map from call expression to the edge to speed up cgraph_edge function. */ htab_t GTY((param_is (struct cgraph_edge))) call_site_hash; -#ifdef ENABLE_CHECKING - /* Declaration node used to be clone of. Used for checking only. - We must skip it or we get references from release checking GGC files. */ - tree GTY ((skip)) former_clone_of; -#endif + /* Declaration node used to be clone of. */ + tree former_clone_of; PTR GTY ((skip)) aux; |