diff options
author | Jan Hubicka <jh@suse.cz> | 2010-05-27 17:43:25 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-05-27 15:43:25 +0000 |
commit | 753d358dbcf3dd3fe68e9fe1e0a5eea8188c5d9a (patch) | |
tree | b0451e43685ddf34b1e2ba69c0ca8ccc36e6fa41 /gcc/cgraph.h | |
parent | 44491ebd8ff0c0565231bee689e2a3bb25271340 (diff) | |
download | gcc-753d358dbcf3dd3fe68e9fe1e0a5eea8188c5d9a.zip gcc-753d358dbcf3dd3fe68e9fe1e0a5eea8188c5d9a.tar.gz gcc-753d358dbcf3dd3fe68e9fe1e0a5eea8188c5d9a.tar.bz2 |
cgraph.h (struct cgraph_node): Mark former_clone_of by GTY ((skip)).
* cgraph.h (struct cgraph_node): Mark former_clone_of by GTY ((skip)).
* cgraphunit.c (clone_of_p): Compile only when checking is enabled.
From-SVN: r159925
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 1080c44..8772ceb 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -227,8 +227,9 @@ struct GTY((chain_next ("%h.next"), chain_prev ("%h.previous"))) cgraph_node { 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. */ - tree former_clone_of; + /* 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 PTR GTY ((skip)) aux; |