summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-08 12:59:21 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-08 12:59:21 +0000
commit5c368d8ac62ed028797093330ec5afc13857ad5f (patch)
tree4de5ffd28741a97813d02261d3fc8eed70c982ba /gcc/cgraph.h
parent8858a76dbf0caac314de74348173d055203b50e2 (diff)
downloadgcc-5c368d8ac62ed028797093330ec5afc13857ad5f.tar.gz
PR lto/54095
* cgraph.c (cgraph_make_node_local_1): Se unique_name. * cgraph.h (symtab_node_base): Add unique_name. * lto-cgraph.c (lto_output_node, lto_output_varpool_node, input_overwrite_node, input_varpool_node): Stream unique_name. * cgraphclones.c (cgraph_create_virtual_clone, cgraph_function_versioning): Set unique_name. * ipa.c (function_and_variable_visibility): Set unique_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198710 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index ef926ec12d8..9103a2547c4 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -62,6 +62,8 @@ struct GTY(()) symtab_node_base
/* Needed variables might become dead by optimization. This flag
forces the variable to be output even if it appears dead otherwise. */
unsigned force_output : 1;
+ /* True when the name is known to be unique and thus it does not need mangling. */
+ unsigned unique_name : 1;
/* Ordering of all symtab entries. */
int order;