diff options
author | Jan Hubicka <jh@suse.cz> | 2010-09-17 02:35:22 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-09-17 00:35:22 +0000 |
commit | 52b3b3c7e24d8ef6de75310eb4a1437f45c1f469 (patch) | |
tree | 17fda233d4a5711e6252ed92e19a57d8be8e4c8c /gcc/lto/lto.c | |
parent | ff01e2cb4486f4bff6ae371a0bf9a80c3370c4d3 (diff) | |
download | gcc-52b3b3c7e24d8ef6de75310eb4a1437f45c1f469.zip gcc-52b3b3c7e24d8ef6de75310eb4a1437f45c1f469.tar.gz gcc-52b3b3c7e24d8ef6de75310eb4a1437f45c1f469.tar.bz2 |
lto-cgraph.c (input_overwrite_node): Do not set DECL_EXTERNAL when processing clone.
* lto-cgraph.c (input_overwrite_node): Do not set DECL_EXTERNAL when
processing clone.
* lto.c (lto_materialize_function): Do not tamper with STATIC and
EXTERNAL flags.
From-SVN: r164354
Diffstat (limited to 'gcc/lto/lto.c')
-rw-r--r-- | gcc/lto/lto.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 7478213..88a3b97 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -160,9 +160,6 @@ lto_materialize_function (struct cgraph_node *node) and also functions that are needed to produce virtual clones. */ if (node->analyzed || has_analyzed_clone_p (node)) { - /* This function has a definition. */ - TREE_STATIC (decl) = 1; - /* Clones don't need to be read. */ if (node->clone_of) return; @@ -198,8 +195,6 @@ lto_materialize_function (struct cgraph_node *node) if (!flag_wpa) ggc_collect (); } - else - DECL_EXTERNAL (decl) = 1; /* Let the middle end know about the function. */ rest_of_decl_compilation (decl, 1, 0); |