diff options
author | Jan Hubicka <jh@suse.cz> | 2011-06-11 15:33:31 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2011-06-11 15:33:31 +0000 |
commit | a01514d4f4b2ef2910998dcb3ca2749585b56a73 (patch) | |
tree | 75a490bb63614205fcf2eb8bf90d837c665ab809 /gcc/lto-streamer-out.c | |
parent | 515f6ae7af31a02e2ff8a77e578b92be1bab7115 (diff) |
* lto-streamer-out.c (produce_symtab): Stream out the newly represented
aliases.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@174956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 7a2f3f02361..c629a9f871b 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2582,7 +2582,7 @@ produce_symtab (struct output_block *ob, if (DECL_COMDAT (node->decl) && cgraph_comdat_can_be_unshared_p (node)) continue; - if (node->alias || node->global.inlined_to) + if ((node->alias && !node->thunk.alias) || node->global.inlined_to) continue; write_symbol (cache, &stream, node->decl, seen, false); } @@ -2594,7 +2594,7 @@ produce_symtab (struct output_block *ob, if (DECL_COMDAT (node->decl) && cgraph_comdat_can_be_unshared_p (node)) continue; - if (node->alias || node->global.inlined_to) + if ((node->alias && !node->thunk.alias) || node->global.inlined_to) continue; write_symbol (cache, &stream, node->decl, seen, false); } |